From a0e6730280d4735f840a5279072710c644cb7f79 Mon Sep 17 00:00:00 2001 From: Peter Lejeck Date: Sat, 30 Nov 2013 21:30:38 -0800 Subject: Remove &reference in refiles() (fixes bug reported by catboy) --- static/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static') 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; } -- cgit v1.2.3