[Tickets #8625] fatal error setSQLOb() on a non-object

bugs at horde.org bugs at horde.org
Mon Oct 5 18:22:04 UTC 2009


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

Ticket URL: http://bugs.horde.org/ticket/8625
------------------------------------------------------------------------------
  Ticket             | 8625
  Created By         | phil at weballey.com
  Summary            | fatal error setSQLOb() on a non-object
  Queue              | Whups
  Version            | 1.0
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


phil at weballey.com (2009-10-05 14:22) wrote:

Using Horde 3.3.5 and whups 1.0, trying to set permissions on queue,  
but getting this error: "PHP Fatal error:  Call to a member function  
setSQLOb() on a non-object in  
/usr/local/www/horde/lib/Horde/Perms/sql.php on line 129, referer:  
http://webmail.sfflcc.org/whups/admin/index.php [more deleted]";

Also non-administrators couldn't access ticket queue.

Anyway I fixed it in file  
/usr/local/www/horde/lib/Horde/Perms/sql.php, line 107;
changed
"if ($perm === false) {"
to
"if (($perm === NULL) || ($perm === false)) {"

Seems to work from my limited testing.

FWIW.

-phil






More information about the bugs mailing list