cvs: pear /DB_QueryTool package.xml /DB_QueryTool/QueryTool Query.php

From: Date: Mon, 12 Feb 2007 20:37:57 +0000
Subject: cvs: pear /DB_QueryTool package.xml /DB_QueryTool/QueryTool Query.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-44634@lists.php.net to get a copy of this message
quipo Mon Feb 12 20:37:57 2007 UTC Modified files: /pear/DB_QueryTool/QueryTool Query.php /pear/DB_QueryTool package.xml Log: fixed bug #10073: bug with empty() and 0 in _localeSafeImplode() - thanks to Lukas Ruetz http://cvs.php.net/viewvc.cgi/pear/DB_QueryTool/QueryTool/Query.php?r1=1.71&r2=1.72&diff_format=u Index: pear/DB_QueryTool/QueryTool/Query.php diff -u pear/DB_QueryTool/QueryTool/Query.php:1.71 pear/DB_QueryTool/QueryTool/Query.php:1.72 --- pear/DB_QueryTool/QueryTool/Query.php:1.71 Wed Jan 10 17:49:47 2007 +++ pear/DB_QueryTool/QueryTool/Query.php Mon Feb 12 20:37:57 2007 @@ -19,7 +19,7 @@ * @author Lorenzo Alberton <l dot alberton at quipo dot it> * @copyright 2003-2007 Wolfram Kriesing, Paolo Panto, Lorenzo Alberton * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Query.php,v 1.71 2007/01/10 17:49:47 quipo Exp $ + * @version CVS: $Id: Query.php,v 1.72 2007/02/12 20:37:57 quipo Exp $ * @link http://pear.php.net/package/DB_QueryTool */ @@ -613,7 +613,7 @@ { $str = ''; foreach ($array as $value) { - if (!empty($str)) { + if ($str !== '') { $str .= $glue; } $str .= is_double($value) ? $this->_floatToStringNoLocale($value) : $value; http://cvs.php.net/viewvc.cgi/pear/DB_QueryTool/package.xml?r1=1.46&r2=1.47&diff_format=u Index: pear/DB_QueryTool/package.xml diff -u pear/DB_QueryTool/package.xml:1.46 pear/DB_QueryTool/package.xml:1.47 --- pear/DB_QueryTool/package.xml:1.46 Sat Jan 27 19:21:50 2007 +++ pear/DB_QueryTool/package.xml Mon Feb 12 20:37:57 2007 @@ -26,34 +26,18 @@ <email>l.alberton@quipo.it</email> <active>yes</active> </lead> - <date>2007-01-27</date> + <date>2007-02-12</date> <time>20:34:51</time> <version> - <release>1.1.0</release> - <api>1.1.0</api> + <release>1.1.1</release> + <api>1.1.1</api> </version> <stability> <release>stable</release> <api>stable</api> </stability> <license uri="http://www.debian.org/misc/bsd.license">BSD</license> - <notes>backported most of the latest changes implemented in MDB_QueryTool: -* added getOne() method (request #7580) -* added support for NULL fields in remove() (request #8056) -* fixed bug #3842, using the addJoin/setJoin methods causes an &quot;invalid token&quot; error with ibase; - the joined table columns aliases are now named in this format: &quot;t_tablename_fieldname&quot; instead of &quot;_tablename_fieldname&quot;. - Only the ibase driver is affected by this change. -* custom implementation of implode() to circumvent locale handling of floats, - which clashes with SQL standards -* added table and field name quoting (requests #4613, #5250, #7570, #9197) -* fixed bug #9734, an incorrect regexp adds extraneous table names to the fields, - if the name of the field appears as a column name in the current table. -* phpdoc and CS fixes -* added new tests -* switched to package.xml v2 - -NB: This will probably be the last release of DB_QueryTool, which is deprecated -in favour of MDB_QueryTool. + <notes>* fixed bug #10073: bug with empty() and 0 in _localeSafeImplode() </notes> <contents> @@ -132,6 +116,21 @@ <changelog> <release> <version> + <release>1.1.1</release> + <api>1.1.1</api> + </version> + <stability> + <release>stable</release> + <api>stable</api> + </stability> + <date>2007-02-12</date> + <license uri="http://www.debian.org/misc/bsd.license">BSD</license> + <notes>* fixed bug #10073: bug with empty() and 0 in _localeSafeImplode() + + </notes> + </release> + <release> + <version> <release>1.1.0</release> <api>1.1.0</api> </version>

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