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)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 40 - 18 = ?

 [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');


 [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 by the end of next Sunday (CET). If this was a problem with the 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.