[completed: 586] Resolved paging bug in AdminPages.aspx.

This commit is contained in:
Dario Solera 2011-04-22 17:53:17 +02:00
parent f16f67cff2
commit 2e1eb1813d
5 changed files with 38 additions and 13 deletions

View file

@ -43,7 +43,7 @@ namespace ScrewTurn.Wiki {
/// Displays the orphan pages count.
/// </summary>
private void DisplayOrphansCount() {
int orphans = Pages.GetOrphanedPages(null).Length;
int orphans = Pages.GetOrphanedPages(null as NamespaceInfo).Length;
foreach(NamespaceInfo nspace in Pages.GetNamespaces()) {
orphans += Pages.GetOrphanedPages(nspace).Length;
}