Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit aa659a232674153db4905f0bb4b5c252ecf4c18c 1 parent 1189322
@sminnee sminnee authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  model/Hierarchy.php
View
2  model/Hierarchy.php
@@ -168,7 +168,7 @@ public function markChildren($node, $context = null, $childrenMethod = "AllChild
$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();
Please sign in to comment.
Something went wrong with that request. Please try again.