[dev] Registry bug fix

Carlos Pires acmpires at gmail.com
Tue Nov 20 13:27:06 UTC 2007


Hello,

I'm having this error with HEAD version of Registry.php:

[20-Nov-2007 13:16:37] PHP Notice:  Indirect modification of
overloaded property Registry::$imgDir has no effect in
/fasmounts/webmail/www/cpdev.webmail.labs.sapo.pt/framework/Horde/Horde/Registry.php
on line 1059

Here's the bug fix:

Index: Registry.php
===================================================================
RCS file: /repository/framework/Horde/Horde/Registry.php,v
retrieving revision 1.303
diff -u -r1.303 Registry.php
--- Registry.php        19 Nov 2007 23:24:49 -0000      1.303
+++ Registry.php        20 Nov 2007 13:21:05 -0000
@@ -1056,7 +1056,7 @@
             }

             if (in_array($app, $this->_themeCache[$theme])) {
-                $this->imgDir[$app] = $this->get('themesuri', $app) .
'/' . $theme . '/graphics';
+                $this->_imgDir[$app] = $this->get('themesuri', $app)
. '/' . $theme . '/graphics';
             }
         }

Thanks.


More information about the dev mailing list