Home » HTTP » HTTP_Upload » Bug #6886
typo in code
Details
| Submitted | 2006-02-22 12:53 UTC |
|---|---|
| From | glen at delfi dot ee |
| Assigned | arnaud |
| Status | Closed |
| Package | HTTP_Upload |
| PHP Version | Irrelevant |
| OS | PLD Linux |
| Roadmaps | (Not assigned) |
Comments
[2006-02-22 12:53 UTC] glen at delfi dot ee
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');