MINOR: Fixed classname displayed in Hierarchy::markChildren() error. (#4406)

This commit is contained in:
Sam Minnee 2012-04-12 12:38:07 +12:00
parent 1189322b41
commit aa659a2326

View File

@ -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();