Skip to content
This repository
Browse code

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

…(#4406)
  • Loading branch information...
commit aa659a232674153db4905f0bb4b5c252ecf4c18c 1 parent 1189322
Sam Minnée authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  model/Hierarchy.php
2  model/Hierarchy.php
@@ -168,7 +168,7 @@ public function markChildren($node, $context = null, $childrenMethod = "AllChild
168 168
 			$children = $node->$childrenMethod($context);
169 169
 		} else {
170 170
 			user_error(sprintf("Can't find the method '%s' on class '%s' for getting tree children", 
171  
-				$childrenMethod, get_class($this->owner)), E_USER_ERROR);
  171
+				$childrenMethod, get_class($node)), E_USER_ERROR);
172 172
 		}
173 173
 		
174 174
 		$node->markExpanded();

0 notes on commit aa659a2

Please sign in to comment.
Something went wrong with that request. Please try again.