[Tickets #2594] NEW: Fatal error on opening prefs

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Sep 13 05:28:03 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2594
-----------------------------------------------------------------------
 Ticket             | 2594
 Created By         | jens at peino.de
 Summary            | Fatal error on opening prefs
 Queue              | Kronolith
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


jens at peino.de (2005-09-13 05:28) wrote:

Index: common-header.inc
===================================================================
When opening prefs from kronolith i get:
Fatal error: Call to a member function on a non-object in
/srv/www/htdocs/horde/kronolith/templates/common-header.inc on line 21

Possibel fix added.
regards, jens



RCS file: /repository/kronolith/templates/common-header.inc,v
retrieving revision 1.35
diff -u -r1.35 common-header.inc
--- common-header.inc   9 Sep 2005 03:20:04 -0000       1.35
+++ common-header.inc   13 Sep 2005 12:24:36 -0000
@@ -18,7 +18,7 @@
     echo "<meta http-equiv=\"refresh\"
content=\"$refresh_time;url=$refresh_url\">\n";
 }

-if ($browser->isBrowser('konqueror')) {
+if ($GLOBALS['browser']->isBrowser('konqueror')) {
     Horde::addScriptFile('fixUnstyledOptions.js', 'kronolith', true);
 }
 Horde::includeScriptFiles();




More information about the bugs mailing list