cvs: pear /MDB_QueryTool package.xml /MDB_QueryTool/QueryTool Query.php
| From: | Lorenzo Alberton | Date: | Mon, 12 Feb 2007 20:37:38 +0000 |
| Subject: | cvs: pear /MDB_QueryTool package.xml /MDB_QueryTool/QueryTool Query.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-44633@lists.php.net to get a copy of this message | ||
quipo Mon Feb 12 20:37:38 2007 UTC
Modified files:
/pear/MDB_QueryTool/QueryTool Query.php
/pear/MDB_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/MDB_QueryTool/QueryTool/Query.php?r1=1.67&r2=1.68&diff_format=u
Index: pear/MDB_QueryTool/QueryTool/Query.php
diff -u pear/MDB_QueryTool/QueryTool/Query.php:1.67 pear/MDB_QueryTool/QueryTool/Query.php:1.68
--- pear/MDB_QueryTool/QueryTool/Query.php:1.67 Mon Jan 29 12:33:15 2007
+++ pear/MDB_QueryTool/QueryTool/Query.php Mon Feb 12 20:37:38 2007
@@ -32,7 +32,7 @@
* @author Lorenzo Alberton <l dot alberton at quipo dot it>
* @copyright 2004-2007 Lorenzo Alberton
* @license http://www.debian.org/misc/bsd.license BSD
License (3 Clause)
- * @version CVS: $Id: Query.php,v 1.67 2007/01/29 12:33:15 quipo Exp $
+ * @version CVS: $Id: Query.php,v 1.68 2007/02/12 20:37:38 quipo Exp $
* @link http://pear.php.net/package/MDB_QueryTool
*/
@@ -629,7 +629,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/MDB_QueryTool/package.xml?r1=1.57&r2=1.58&diff_format=u
Index: pear/MDB_QueryTool/package.xml
diff -u pear/MDB_QueryTool/package.xml:1.57 pear/MDB_QueryTool/package.xml:1.58
--- pear/MDB_QueryTool/package.xml:1.57 Mon Jan 29 12:33:16 2007
+++ pear/MDB_QueryTool/package.xml Mon Feb 12 20:37:38 2007
@@ -28,7 +28,7 @@
<email>elmar.pitschke@gmx.de</email>
<active>yes</active>
</contributor>
- <date>2007-01-29</date>
+ <date>2007-02-12</date>
<time>19:06:04</time>
<version>
<release>1.2.1</release>
@@ -40,6 +40,7 @@
</stability>
<license uri="http://www.debian.org/misc/bsd.license">BSD</license>
<notes>- fixed bug #9963: Quoting problem with COUNT(*)
+- fixed bug #10073: bug with empty() and 0 in _localeSafeImplode()
</notes>
<contents>
<dir name="/">
@@ -134,9 +135,10 @@
<release>stable</release>
<api>stable</api>
</stability>
- <date>2007-01-29</date>
+ <date>2007-02-12</date>
<license uri="http://www.debian.org/misc/bsd.license">BSD</license>
<notes>- fixed bug #9963: Quoting problem with COUNT(*)
+- fixed bug #10073: bug with empty() and 0 in _localeSafeImplode()
</notes>
</release>
<release>