mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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
|
// If the amount of pages exceeds the node thresholds set, use the callback
|
||||||
|
$html = null;
|
||||||
if($obj->ParentID && $nodeCountCallback) {
|
if($obj->ParentID && $nodeCountCallback) {
|
||||||
$html = $nodeCountCallback($obj, $obj->$numChildrenMethod());
|
$html = $nodeCountCallback($obj, $obj->$numChildrenMethod());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user