6.0.0-beta1
9/8/25

[#2594] Fatal error on opening prefs
Summary Fatal error on opening prefs
Queue Kronolith
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners
Requester jens (at) peino (dot) de
Created 09/13/2005 (7300 days ago)
Due
Updated 09/13/2005 (7300 days ago)
Assigned
Resolved 09/13/2005 (7300 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/13/2005 01:58:35 PM Matt Selsky Comment #2
State ⇒ Resolved
Reply to this comment
Committed, thanks!
09/13/2005 12:28:03 PM jens (at) peino (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Fatal error on opening prefs
Queue ⇒ Kronolith
Reply to this comment
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 "<!--a75c305b1c0a6022--><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();

Saved Queries