cvs: pear /MDB2/MDB2 Extended.php
| From: | Lukas Smith | Date: | Sat, 17 Jun 2006 12:14:43 +0000 |
| Subject: | cvs: pear /MDB2/MDB2 Extended.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-40784@lists.php.net to get a copy of this message | ||
lsmith Sat Jun 17 12:14:43 2006 UTC
Modified files:
/pear/MDB2/MDB2 Extended.php
Log:
- typo fix
http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Extended.php?r1=1.46&r2=1.47&diff_format=u
Index: pear/MDB2/MDB2/Extended.php
diff -u pear/MDB2/MDB2/Extended.php:1.46 pear/MDB2/MDB2/Extended.php:1.47
--- pear/MDB2/MDB2/Extended.php:1.46 Sat Jun 17 12:08:26 2006
+++ pear/MDB2/MDB2/Extended.php Sat Jun 17 12:14:43 2006
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
//
-// $Id: Extended.php,v 1.46 2006/06/17 12:08:26 lsmith Exp $
+// $Id: Extended.php,v 1.47 2006/06/17 12:14:43 lsmith Exp $
/**
* @package MDB2
@@ -133,10 +133,11 @@
$where = false, $types = null, $result_class = true, $result_types = MDB2_PREPARE_MANIP)
{
$fields_values = (array)$fields_values;
- $keys = array();
- if (MDB2_AUTOQUERY_SELECT) {
+ if ($mode == MDB2_AUTOQUERY_SELECT) {
if (is_array($result_types)) {
$keys = array_keys($result_types);
+ } else {
+ $keys = array();
}
} else {
$keys = array_keys($fields_values);