Removed notice-level erorr in CMS page list.

This commit is contained in:
Sam Minnee 2013-04-09 11:42:30 +12:00
parent 0d8f99f72b
commit e6d8280296

View File

@ -809,6 +809,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
}
// If the amount of pages exceeds the node thresholds set, use the callback
$html = null;
if($obj->ParentID && $nodeCountCallback) {
$html = $nodeCountCallback($obj, $obj->$numChildrenMethod());
}