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

Bug #6886 typo in code
Submitted: 2006-02-22 12:53 UTC
From: glen at delfi dot ee Assigned: arnaud
Status: Closed Package: HTTP_Upload (version CVS)
PHP Version: Irrelevant OS: PLD Linux
Roadmaps: (Not assigned)    
Subscription  


 [2006-02-22 12:53 UTC] glen at delfi dot ee (Elan Ruusam√§e)
Description: ------------ a trivial fix: --- /usr/share/pear/HTTP/Upload.php~ 2006-02-22 14:51:46.000000000 +0200 +++ /usr/share/pear/HTTP/Upload.php 2006-02-22 14:51:47.424067764 +0200 @@ -870,7 +870,7 @@ // copy the file and let php clean the tmp if (!@move_uploaded_file($this->upload['tmp_name'], $name)) { $error =& $this->raiseError('E_FAIL_MOVE'); - return &error; + return $error; } @chmod($name, $this->_chmod); $prop =& $this->getProp('name');

Comments

 [2006-10-01 19:57 UTC] arnaud (Arnaud Limbourg)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.