Fixed #409: deleted pages are not displayed in RSS when category is specified (categories of a deleted page are unknown).

This commit is contained in:
Dario Solera 2009-11-28 14:04:19 +00:00
parent 90c0be4082
commit 5cb2898572
2 changed files with 5 additions and 2 deletions

View file

@ -278,6 +278,9 @@ namespace ScrewTurn.Wiki {
// Check namespace
if(p != null && NameTools.GetNamespace(p.FullName) != currentNamespace) continue;
// Skip deleted pages as their category binding is unknown
if(p == null && useCat) continue;
// Write the item element
rss.WriteStartElement("item");
rss.WriteStartElement("title");