cvs: pearweb /include pear-database.php
| From: | Martin Jansen | Date: | Sat, 13 Jan 2007 16:30:06 +0000 |
| Subject: | cvs: pearweb /include pear-database.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5348@lists.php.net to get a copy of this message | ||
mj Sat Jan 13 16:30:06 2007 UTC
Modified files:
/pearweb/include pear-database.php
Log:
* It looks like XML-RPC requests do not maintain NULL values properly,
which is why we cannot use === here but must fall back to ==.
Bug #9796
http://cvs.php.net/viewvc.cgi/pearweb/include/pear-database.php?r1=1.327&r2=1.328&diff_format=u
Index: pearweb/include/pear-database.php
diff -u pearweb/include/pear-database.php:1.327 pearweb/include/pear-database.php:1.328
--- pearweb/include/pear-database.php:1.327 Sat Jan 13 12:51:49 2007
+++ pearweb/include/pear-database.php Sat Jan 13 16:30:06 2007
@@ -18,7 +18,7 @@
| Martin Jansen <mj@php.net> |
| Gregory Beaver <cellog@php.net> |
+----------------------------------------------------------------------+
- $Id: pear-database.php,v 1.327 2007/01/13 12:51:49 mj Exp $
+ $Id: pear-database.php,v 1.328 2007/01/13 16:30:06 mj Exp $
*/
require_once 'DB/storage.php';
@@ -715,7 +715,7 @@
FROM deps
WHERE package = ? ORDER BY optional ASC";
$newpk_sql = "SELECT name FROM packages WHERE id=?";
- if ($field === null) {
+ if ($field == null) {
$info =
$dbh->getRow($pkg_sql, array($pkg), DB_FETCHMODE_ASSOC);
$info['releases'] =