cvs: pear /MDB2 MDB2.php
| From: | Lukas Smith | Date: | Wed, 25 Oct 2006 07:59:40 +0000 |
| Subject: | cvs: pear /MDB2 MDB2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-42804@lists.php.net to get a copy of this message | ||
lsmith Wed Oct 25 07:59:40 2006 UTC
Modified files:
/pear/MDB2 MDB2.php
Log:
- fix issue in execute() when parameter is a scalar integer of 0 (Bug #9158)
http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2.php?r1=1.271&r2=1.272&diff_format=u
Index: pear/MDB2/MDB2.php
diff -u pear/MDB2/MDB2.php:1.271 pear/MDB2/MDB2.php:1.272
--- pear/MDB2/MDB2.php:1.271 Tue Oct 24 11:43:59 2006
+++ pear/MDB2/MDB2.php Wed Oct 25 07:59:40 2006
@@ -43,7 +43,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB2.php,v 1.271 2006/10/24 11:43:59 lsmith Exp $
+// $Id: MDB2.php,v 1.272 2006/10/25 07:59:40 lsmith Exp $
//
/**
@@ -4002,8 +4002,8 @@
'Prepared statement has already been freed', __FUNCTION__);
}
+ $values = (array)$values;
if (!empty($values)) {
- $values = (array)$values;
$this->bindValueArray($values);
}
$result =& $this->_execute($result_class, $result_wrap_class);