cvs: pear /MDB2/MDB2 Extended.php
| From: | Lukas Smith | Date: | Tue, 22 Feb 2005 09:49:04 +0000 |
| Subject: | cvs: pear /MDB2/MDB2 Extended.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-29662@lists.php.net to get a copy of this message | ||
lsmith Tue Feb 22 04:49:04 2005 EDT
Modified files:
/pear/MDB2/MDB2 Extended.php
Log:
- set proper fetch mode default in getAssoc() (fox bug 3466)
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Extended.php?r1=1.18&r2=1.19&ty=u
Index: pear/MDB2/MDB2/Extended.php
diff -u pear/MDB2/MDB2/Extended.php:1.18 pear/MDB2/MDB2/Extended.php:1.19
--- pear/MDB2/MDB2/Extended.php:1.18 Mon Feb 14 08:26:14 2005
+++ pear/MDB2/MDB2/Extended.php Tue Feb 22 04:49:01 2005
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Extended.php,v 1.18 2005/02/14 13:26:14 lsmith Exp $
+// $Id: Extended.php,v 1.19 2005/02/22 09:49:01 lsmith Exp $
/**
* @package MDB2
@@ -490,7 +490,7 @@
* @access public
*/
function getAssoc($query, $types = null, $params = array(), $param_types = null,
- $fetchmode = MDB2_FETCHMODE_ORDERED, $force_array = false, $group = false)
+ $fetchmode = MDB2_FETCHMODE_DEFAULT, $force_array = false, $group = false)
{
$db =& $GLOBALS['_MDB2_databases'][$this->db_index];
settype($params, 'array');