__toString() throws a fatal error if it takes arguments in PHP 5.3
authorMichael Tänzer <neo@nhng.de>
Sun, 29 Apr 2012 21:06:03 +0000 (23:06 +0200)
committerMichael Tänzer <neo@nhng.de>
Sun, 29 Apr 2012 21:06:03 +0000 (23:06 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
manager/application/views/helpers/LeftNav.php
manager/application/views/helpers/TopNav.php

index 7523d6e..01d31e5 100644 (file)
@@ -78,7 +78,7 @@ class Zend_View_Helper_LeftNav extends Zend_View_Helper_Placeholder_Container_St
      * @param  string|null $locale\r
      * @return string\r
      */\r
-    public function __toString($indent = null, $locale = null)\r
+    public function toString($indent = null, $locale = null)\r
     {\r
                $output = '';\r
        $indent = (null !== $indent)\r
index 604178a..151b03f 100644 (file)
@@ -78,7 +78,7 @@ class Zend_View_Helper_TopNav extends Zend_View_Helper_Placeholder_Container_Sta
      * @param  string|null $locale\r
      * @return string\r
      */\r
-    public function __toString($indent = null, $locale = null)\r
+    public function toString($indent = null, $locale = null)\r
     {\r
                $output = '';\r
        $indent = (null !== $indent)\r