Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
I think you're right. DB_common::getOne() doc [1] indeed indicates that the
error detection must be applied on the query result, not on the db object. By
the way, db connection failure is already checked in "$db = $this->getDb();"
instruction.

Attached patch should fix the problem. Thanks for identifying the bug.

[1] http://pear.php.net/manual/en/package.database.db.db-common.getone.php



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.

Loading...