mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +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);
|
$children = $node->$childrenMethod($context);
|
||||||
} else {
|
} else {
|
||||||
user_error(sprintf("Can't find the method '%s' on class '%s' for getting tree children",
|
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();
|
$node->markExpanded();
|
||||||
|
Loading…
Reference in New Issue
Block a user