#19114 [NEW]: Typo in buildManipSQL function in DB/common.php
| From: | bugs at pointb dot co dot uk | Date: | Mon, 26 Aug 2002 20:15:21 +0000 |
| Subject: | #19114 [NEW]: Typo in buildManipSQL function in DB/common.php | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-8673@lists.php.net to get a copy of this message | ||
From: bugs@pointb.co.uk
Operating system: RedHat Linux 7.3
PHP version: 4.2.2
PHP Bug Type: PEAR related
Bug description: Typo in buildManipSQL function in DB/common.php
I am using version 1.3 of the Database Abstraction Layer.
There is the following section in the buildManipSQL function in the
DB/common.php file that I think may have a typo in it:
The section is as follows:
if ($where) {
$sql .= " WHERE $sql";
}
and I think it should be:
if ($where) {
$sql .= " WHERE $where";
}
--
Edit bug report at http://bugs.php.net/?id=19114&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19114&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19114&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19114&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19114&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19114&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19114&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19114&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19114&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19114&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19114&r=globals