cvs: php4 /pear/DB mysql.php

From: Date: Sat, 08 Sep 2001 15:50:42 +0000
Subject: cvs: php4 /pear/DB mysql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-817@lists.php.net to get a copy of this message
cox Sat Sep 8 11:50:42 2001 EDT Modified files: /php4/pear/DB mysql.php Log: "gotcha" Stig :-) Index: php4/pear/DB/mysql.php diff -u php4/pear/DB/mysql.php:1.73 php4/pear/DB/mysql.php:1.74 --- php4/pear/DB/mysql.php:1.73 Sat Sep 8 08:17:24 2001 +++ php4/pear/DB/mysql.php Sat Sep 8 11:50:42 2001 @@ -133,9 +133,7 @@ if ($dsninfo['database']) { // fix to allow calls to different databases in the same script - if (!isset($GLOBALS['_DB_mysql_changed_database']) || - !$GLOBALS['_DB_mysql_changed_database']) - { + if (empty($GLOBALS['_DB_mysql_changed_database'])) { $this->_changed_db = false; if (!@mysql_select_db($dsninfo['database'], $conn)) { return $this->raiseError(DB_ERROR_NODBSELECTED, null, null,

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