cmv Fri Feb 2 09:59:31 2001 EDT
Modified files:
/php4/pear DB.php
Log:
I think this should've been changed as well, right?
Index: php4/pear/DB.php
diff -u php4/pear/DB.php:1.46 php4/pear/DB.php:1.47
--- php4/pear/DB.php:1.46 Thu Feb 1 21:24:31 2001
+++ php4/pear/DB.php Fri Feb 2 09:59:30 2001
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: DB.php,v 1.46 2001/02/02 05:24:31 chagenbu Exp $
+// $Id: DB.php,v 1.47 2001/02/02 17:59:30 cmv Exp $
//
// Database independent query interface.
//
@@ -218,14 +218,14 @@
}
if (is_array($options)) {
- foreach ($persistent as $option => $value) {
+ foreach ($options as $option => $value) {
$test = $obj->setOption($option, $value);
if (DB::isError($test)) {
return $test;
}
}
} else {
- $obj->setOption('persistent', $persistent);
+ $obj->setOption('persistent', $options);
}
$err = $obj->connect($dsninfo, $obj->getOption('persistent'));
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]