[Cartoweb-dev] [Bug 1931] plugin Routing (cartoweb 3.4.0)

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Tue Aug 12 10:34:10 EDT 2008


------- Additional Comments From alexandre.saunier at camptocamp.com  2008-08-12 10:34 -------
Created an attachment (id=263)
 --> (http://bugzilla.maptools.org/attachment.cgi?id=263&action=view)
Bug fix

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();"

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.

More information about the Cartoweb-dev mailing list