cvs: pearweb /include pear-database.php

From: Date: Thu, 31 Jan 2002 22:51:54 +0000
Subject: cvs: pearweb /include pear-database.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-2266@lists.php.net to get a copy of this message
cox Thu Jan 31 17:51:54 2002 EDT Modified files: /pearweb/include pear-database.php Log: typos, grrr ;-) Index: pearweb/include/pear-database.php diff -u pearweb/include/pear-database.php:1.46 pearweb/include/pear-database.php:1.47 --- pearweb/include/pear-database.php:1.46 Wed Jan 30 04:02:55 2002 +++ pearweb/include/pear-database.php Thu Jan 31 17:51:54 2002 @@ -490,7 +490,7 @@ return PEAR::raiseError("writing $infofile failed: $php_errormsg"); } fwrite($fp, serialize($info)); - fclose($info); + fclose($fp); return $infofile; } @@ -499,6 +499,7 @@ function confirmUpload($upload_ref) { + global $dbh, $PHP_AUTH_USER; $fp = @fopen($upload_ref, "r"); if (!is_resource($fp)) { return PEAR::raiseError("invalid upload reference: $upload_ref");

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