Fixed NextItems logic

Replaced duplicate logic in GetChildren with MyItems
Fixed logic to check for Sections = null
This commit is contained in:
Rich committed 2010-11-15 17:01:36 +00:00
1 parent ba85df568a
commit e20796dfbf
6 files changed
+12 -9

No files matched your search

@@ -725,7 +725,7 @@ namespace VEPROMS.CSLA.Library
{
get
{
if (NextItemCount > 0 && NextItems.Count > 0)
if (NextItemCount > 0 && NextItems != null && NextItems.Count > 0)
return NextItems[0];
return null;
}