Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0b4

Bug #2383 Notice: Undefined variable: error in C:\php5\PEAR\HTTP\Upload.php on line 509
Submitted: 2004-09-23 21:12 UTC
From: jet dot tian at cspencerltd dot co dot uk Assigned: antonio
Status: Closed Package: HTTP_Upload
PHP Version: 5.0.1 OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  


 [2004-09-23 21:12 UTC] jet dot tian at cspencerltd dot co dot uk
Description: ------------ Notice: Undefined variable: error in C:\php5\PEAR\HTTP\Upload.php on line 509 Reproduce code: --------------- function isMissing() { ... $files = array(); $size = 0; // I added error = null $error = null; foreach ($this->post_files as $userfile => $value) { ... } ... }

Comments

 [2004-09-27 12:57 UTC] antonio
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. http://cvs.php.net/co.php/pear/HTTP_Upload/Upload.php?r=1.46