Fixed potential sorting problem.

This commit is contained in:
Dario Solera 2010-11-11 06:18:24 +00:00
parent ce0b95fccf
commit a795011d76

View file

@ -106,8 +106,8 @@ namespace ScrewTurn.Wiki {
for(int i = 0; i < cat.Pages.Length; i++) {
pages[i] = Pages.FindPage(cat.Pages[i]);
}
Array.Sort(pages as PageInfo[], new PageNameComparer());
}
else return new List<PageInfo>();
}
}
else {