I think this should've been changed as well, right?

This commit is contained in:
Colin Viebrock 2001-02-02 17:59:30 +00:00
parent c6633698b4
commit 2265b5b4c5

View File

@ -218,14 +218,14 @@ class DB
}
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'));