Browse files

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

  • Loading branch information...
1 parent 1189322 commit aa659a232674153db4905f0bb4b5c252ecf4c18c @sminnee sminnee committed Apr 12, 2012
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();

0 comments on commit aa659a2

Please sign in to comment.