cvs: pear /MDB2/MDB2 Extended.php
| From: | Lukas Smith | Date: | Tue, 08 Jun 2004 15:02:19 +0000 |
| Subject: | cvs: pear /MDB2/MDB2 Extended.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-20357@lists.php.net to get a copy of this message | ||
lsmith Tue Jun 8 11:02:19 2004 EDT
Modified files:
/pear/MDB2/MDB2 Extended.php
Log:
fixed Bug #1574
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Extended.php?r1=1.8&r2=1.9&ty=u
Index: pear/MDB2/MDB2/Extended.php
diff -u pear/MDB2/MDB2/Extended.php:1.8 pear/MDB2/MDB2/Extended.php:1.9
--- pear/MDB2/MDB2/Extended.php:1.8 Fri May 21 07:43:56 2004
+++ pear/MDB2/MDB2/Extended.php Tue Jun 8 11:02:19 2004
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Extended.php,v 1.8 2004/05/21 11:43:56 lsmith Exp $
+// $Id: Extended.php,v 1.9 2004/06/08 15:02:19 lsmith Exp $
/**
* @package MDB2
@@ -131,7 +131,7 @@
{
$db =& $GLOBALS['_MDB2_databases'][$this->db_index];
$prepared_query = $this->autoPrepare($table, array_keys($fields_values), $types, $mode,
$where);
- $result =& $this->executeParams($prepared_query, array_values($fields_values),
$param_types, $result_class);
+ $result =& $db->executeParams($prepared_query, $param_types,
array_values($fields_values), $result_class);
$db->freePrepared($prepared_query);
return $result;
}