Summary | "Call to a member function on a non-object" because of typo in sql.php |
Queue | Nag |
Queue Version | 2.1 |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | |
Requester | hordebugs (at) farcaster (dot) org |
Created | 04/24/2006 (7045 days ago) |
Due | |
Updated | 04/24/2006 (7045 days ago) |
Assigned | |
Resolved | 04/24/2006 (7045 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
accidentally backported to Nag 2.1.
New Attachment: nag-21.patch
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ "Call to a member function on a non-object" because of typo in sql.php
Queue ⇒ Nag
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).