PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTTP » HTTP_Upload » Bug #6886

typo in code

Details

Submitted2006-02-22 12:53 UTC
Fromglen at delfi dot ee
Assignedarnaud
StatusClosed
PackageHTTP_Upload
PHP VersionIrrelevant
OSPLD 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');