[Tickets #3818] NEW: "Call to a member function on a non-object" because of typo in sql.php

bugs@bugs.horde.org bugs at bugs.horde.org
Sun Apr 23 21:35:34 PDT 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=3818
-----------------------------------------------------------------------
 Ticket             | 3818
 Created By         | hordebugs at farcaster.org
 Summary            | "Call to a member function on a non-object" because of typo in sql.php
 Queue              | Nag
 Version            | 2.1
 State              | Unconfirmed
 Priority           | 3. High
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


hordebugs at farcaster.org (2006-04-23 21:35) wrote:

lib/Driver/sql.php - line 428 (function _buildTask):

The query call when generating uids has a typo in it.  Instead of
$this->_write_db->query(...), it should be $this->_db->query(...).

With the typo, nag throws "Call to a member function on a non-object" errors
when existing entries don't have uids.

This exists in HEAD as well (according to chora) on line 438 of that same
file.

Fix attached (diff against nag 2.1).




More information about the bugs mailing list