cvs: pear /MDB_QueryTool/QueryTool Query.php

From: Date: Mon, 01 May 2006 15:35:15 +0000
Subject: cvs: pear /MDB_QueryTool/QueryTool Query.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-39936@lists.php.net to get a copy of this message
quipo Mon May 1 15:35:15 2006 UTC Modified files: /pear/MDB_QueryTool/QueryTool Query.php Log: check if method == 'getAssoc' http://cvs.php.net/viewcvs.cgi/pear/MDB_QueryTool/QueryTool/Query.php?r1=1.52&r2=1.53&diff_format=u Index: pear/MDB_QueryTool/QueryTool/Query.php diff -u pear/MDB_QueryTool/QueryTool/Query.php:1.52 pear/MDB_QueryTool/QueryTool/Query.php:1.53 --- pear/MDB_QueryTool/QueryTool/Query.php:1.52 Sat Apr 8 10:39:23 2006 +++ pear/MDB_QueryTool/QueryTool/Query.php Mon May 1 15:35:15 2006 @@ -32,7 +32,7 @@ * @author Lorenzo Alberton <l dot alberton at quipo dot it> * @copyright 2004-2006 Lorenzo Alberton * @license http://www.debian.org/misc/bsd.license BSD License (3 Clause) - * @version CVS: $Id: Query.php,v 1.52 2006/04/08 10:39:23 quipo Exp $ + * @version CVS: $Id: Query.php,v 1.53 2006/05/01 15:35:15 quipo Exp $ * @link http://pear.php.net/package/MDB_QueryTool */ @@ -2079,7 +2079,7 @@ $this->debug($query); $this->writeLog('start query'); - if (substr($method, 0, 3) == 'get') { + if ((substr($method, 0, 3) == 'get') && ($method != 'getAssoc')) { $method = 'query'.substr($method, 3); } if (PEAR::isError($res = $this->db->$method($query))) {

« previous php.pear.cvs (#39936) next »