mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Removed notice-level erorr in CMS page list.
This commit is contained in:
parent
0d8f99f72b
commit
e6d8280296
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user