Re: cvs: php4 /pear/DB mysql.php
| From: | (Stig Sæther Bakken) | Date: | Sat, 08 Sep 2001 12:34:10 +0000 |
| Subject: | Re: cvs: php4 /pear/DB mysql.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-816@lists.php.net to get a copy of this message | ||
["Thomas V.V.Cox" <cox@idecnet.com>]
> cox Sat Sep 8 08:17:24 2001 EDT
>
> Modified files:
> /php4/pear/DB mysql.php
> Log:
> just in case
>
>
> Index: php4/pear/DB/mysql.php
> diff -u php4/pear/DB/mysql.php:1.72 php4/pear/DB/mysql.php:1.73
> --- php4/pear/DB/mysql.php:1.72 Thu Sep 6 19:44:10 2001
> +++ php4/pear/DB/mysql.php Sat Sep 8 08:17:24 2001
> @@ -133,7 +133,9 @@
>
> if ($dsninfo['database']) {
> // fix to allow calls to different databases in the same script
> - if (!isset($GLOBALS['_DB_mysql_changed_database'])) {
> + if (!isset($GLOBALS['_DB_mysql_changed_database']) ||
> + !$GLOBALS['_DB_mysql_changed_database'])
Why not empty($GLOBALS['_DB_mysql_changed_database'])?
- Stig
--
Stig Sæther Bakken <ssb@alltheweb.com>
Fast Search & Transfer ASA, Trondheim, Norway