|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-05 08:16 UTC] fab@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 17 19:00:02 2025 UTC |
Hello. I would like to report a bug in common.php of the pear:DB class. In the function buildManipSQL, the code is incorrectly building the sql statement. You have the following starting on line 528: if ($where) { $sql .= " WHERE $sql"; } This code repeats the entire query after the where clause. Instead it should read: if ($where) { $sql .= " WHERE $where"; } Just wanted to report this - it was frustrating me for a while and I decided to peek inside and see what the problem was. Hope this helps. By the way, I searched for this bug but did not see it anywhere yet. If someone has reported it already, sorry for the double post.