diff options
| author | Peter Lejeck <peter.lejeck@gmail.com> | 2013-12-01 06:30:38 +0100 |
|---|---|---|
| committer | Peter Lejeck <peter.lejeck@gmail.com> | 2013-12-01 06:30:38 +0100 |
| commit | a0e6730280d4735f840a5279072710c644cb7f79 (patch) | |
| tree | 99b48c35212dfd3dd4bb29d9df9fdc6775cb0194 /static | |
| parent | 1d0d81c1e89390bd9d31b3a965a75803041b41cb (diff) | |
Remove &reference in refiles() (fixes bug reported by catboy)
Diffstat (limited to 'static')
| -rw-r--r-- | static/upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/upload.php b/static/upload.php index a3274ff..df8d9ad 100644 --- a/static/upload.php +++ b/static/upload.php @@ -111,7 +111,7 @@ function refiles ($files) { $file->tempfile = $files['tmp_name'][$i]; $file->error = $files['error'][$i]; $file->size = $files['size'][$i]; - $out[] = &$file; + $out[] = $file; } return $out; } |
