cvs: pear /MDB_QueryTool/QueryTool Query.php
| From: | Lorenzo Alberton | Date: | Thu, 18 Mar 2004 10:26:47 +0000 |
| Subject: | cvs: pear /MDB_QueryTool/QueryTool Query.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-17495@lists.php.net to get a copy of this message | ||
quipo Thu Mar 18 05:26:47 2004 EDT
Modified files:
/pear/MDB_QueryTool/QueryTool Query.php
Log:
array_merge() wants two arrays on php5
http://cvs.php.net/diff.php/pear/MDB_QueryTool/QueryTool/Query.php?r1=1.22&r2=1.23&ty=u
Index: pear/MDB_QueryTool/QueryTool/Query.php
diff -u pear/MDB_QueryTool/QueryTool/Query.php:1.22 pear/MDB_QueryTool/QueryTool/Query.php:1.23
--- pear/MDB_QueryTool/QueryTool/Query.php:1.22 Fri Mar 12 09:27:03 2004
+++ pear/MDB_QueryTool/QueryTool/Query.php Thu Mar 18 05:26:47 2004
@@ -15,7 +15,7 @@
// | Author: Lorenzo Alberton <l.alberton at quipo.it> |
// +----------------------------------------------------------------------+
//
-// $Id: Query.php,v 1.22 2004/03/12 14:27:03 quipo Exp $
+// $Id: Query.php,v 1.23 2004/03/18 10:26:47 quipo Exp $
//
// This is just a port of DB_QueryTool, originally written by
// Wolfram Kriesing and Paolo Panto, vision:produktion <wk@visionp.de>
@@ -1452,7 +1452,7 @@
if (in_array('', $selectAllFromTables)) { // was there a '*' ?
// get all the tables that we need to process, depending on if joined or not
$tables = $this->getJoin() ?
- array_merge($this->getJoin('tables'), $this->table)
: // get the joined tables and this->table
+ array_merge($this->getJoin('tables'),
array($this->table)) : // get the joined tables and this->table
array($this->table); // create an array with only
this->table
} else {
$tables = $selectAllFromTables;