fix helper collision detection
authorChuck Hagenbuch <chuck@horde.org>
Sun, 22 Feb 2009 16:35:47 +0000 (11:35 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 23 Feb 2009 00:01:36 +0000 (19:01 -0500)
framework/View/lib/Horde/View/Base.php

index 554f668..e08fee3 100644 (file)
@@ -175,7 +175,7 @@ abstract class Horde_View_Base
 
         foreach (get_class_methods($helper) as $method) {
             if (isset($this->_helpers[$method])) {
-                $msg = 'Helper method ' . get_class($this->_helpers[$helper]) . '#' . $method . ' overridden by ' . get_class($helper) . '#' . $method;
+                $msg = 'Helper method ' . get_class($this->_helpers[$method]) . '#' . $method . ' overridden by ' . get_class($helper) . '#' . $method;
                 if ($this->_throwOnHelperCollision) { throw new Horde_View_Exception($msg); }
                 if ($this->logger)                  { $this->logger->warn($msg); }
             }