mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-28 15:39:40 +02:00
MINOR: Fixed classname displayed in Hierarchy::markChildren() error. (#4406)
This commit is contained in:
parent
1189322b41
commit
aa659a2326
|
@ -168,7 +168,7 @@ class Hierarchy extends DataExtension {
|
|||
$children = $node->$childrenMethod($context);
|
||||
} else {
|
||||
user_error(sprintf("Can't find the method '%s' on class '%s' for getting tree children",
|
||||
$childrenMethod, get_class($this->owner)), E_USER_ERROR);
|
||||
$childrenMethod, get_class($node)), E_USER_ERROR);
|
||||
}
|
||||
|
||||
$node->markExpanded();
|
||||
|
|
Loading…
Reference in New Issue
Block a user