cvs: php4 /pear DB.php

From: Date: Fri, 02 Feb 2001 17:59:31 +0000
Subject: cvs: php4 /pear DB.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3871@lists.php.net to get a copy of this message
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'));

« previous php.cvs (#3871) next »