cvs: php4 /pear/DB common.php
| From: | Thomas V.V.Cox | Date: | Fri, 20 Apr 2001 15:12:14 +0000 |
| Subject: | cvs: php4 /pear/DB common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-65@lists.php.net to get a copy of this message | ||
cox Fri Apr 20 08:12:14 2001 EDT
Modified files:
/php4/pear/DB common.php
Log:
fix getRow free result
Index: php4/pear/DB/common.php
diff -u php4/pear/DB/common.php:1.46 php4/pear/DB/common.php:1.47
--- php4/pear/DB/common.php:1.46 Thu Apr 19 14:54:37 2001
+++ php4/pear/DB/common.php Fri Apr 20 08:12:14 2001
@@ -485,7 +485,7 @@
return $err;
}
- $err->free();
+ $res->free();
if (isset($sth)) {
$this->freeResult($sth);
@@ -673,7 +673,7 @@
if ($fetchmode == DB_FETCHMODE_DEFAULT) {
$fetchmode = $this->fetchmode;
}
-
+
settype($params, "array");
if (sizeof($params) > 0) {
$sth = $this->prepare($query);