summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2012-04-29 23:06:03 +0200
committerMichael Tänzer <neo@nhng.de>2012-04-29 23:06:03 +0200
commitd8de88890f00129cfc7dea3191b05a0952d17443 (patch)
tree40441e71d6cba67dc639fe2ec82fa743d8e303c1
parent1a265738f5e5030d2f2c699ce09ee369c1a6195b (diff)
downloadcacert-mgr-d8de88890f00129cfc7dea3191b05a0952d17443.tar.gz
cacert-mgr-d8de88890f00129cfc7dea3191b05a0952d17443.tar.xz
cacert-mgr-d8de88890f00129cfc7dea3191b05a0952d17443.zip
__toString() throws a fatal error if it takes arguments in PHP 5.3
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--manager/application/views/helpers/LeftNav.php2
-rw-r--r--manager/application/views/helpers/TopNav.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/manager/application/views/helpers/LeftNav.php b/manager/application/views/helpers/LeftNav.php
index 7523d6e..01d31e5 100644
--- a/manager/application/views/helpers/LeftNav.php
+++ b/manager/application/views/helpers/LeftNav.php
@@ -78,7 +78,7 @@ class Zend_View_Helper_LeftNav extends Zend_View_Helper_Placeholder_Container_St
* @param string|null $locale
* @return string
*/
- public function __toString($indent = null, $locale = null)
+ public function toString($indent = null, $locale = null)
{
$output = '';
$indent = (null !== $indent)
diff --git a/manager/application/views/helpers/TopNav.php b/manager/application/views/helpers/TopNav.php
index 604178a..151b03f 100644
--- a/manager/application/views/helpers/TopNav.php
+++ b/manager/application/views/helpers/TopNav.php
@@ -78,7 +78,7 @@ class Zend_View_Helper_TopNav extends Zend_View_Helper_Placeholder_Container_Sta
* @param string|null $locale
* @return string
*/
- public function __toString($indent = null, $locale = null)
+ public function toString($indent = null, $locale = null)
{
$output = '';
$indent = (null !== $indent)