DB patch
| From: | KUBO Atsuhiro | Date: | Mon, 29 Jul 2002 06:49:42 +0000 |
| Subject: | DB patch | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-8060@lists.php.net to get a copy of this message | ||
Hi, I fixed small bug in pear/DB/DB/common.php.
Regards,
---
KUBO Atsuhiro
--- common.php.orig 2002-07-29 15:45:09.000000000 +0900
+++ common.php 2002-07-29 15:45:29.000000000 +0900
@@ -523,7 +523,7 @@
}
$sql = "UPDATE $table SET $set";
if ($where) {
- $sql .= " WHERE $sql";
+ $sql .= " WHERE $where";
}
return $sql;
break;