From 3d5c13a3e16bedc7e8ce062c82e4ddb3b42d2318 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 19 Apr 2011 09:13:50 +0200 Subject: don't create firefox hardlock --- files/ajax/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/ajax/upload.php') diff --git a/files/ajax/upload.php b/files/ajax/upload.php index 194d84f4be2..0939ad0d097 100644 --- a/files/ajax/upload.php +++ b/files/ajax/upload.php @@ -28,6 +28,6 @@ if(strpos($dir,'..') === false){ $error = $_FILES['file']['error']; -echo json_encode(array( 'status' => 'error', 'data' => array('error' => $error))); +echo json_encode(array( 'status' => 'error', 'data' => array('error' => $error, "file" => $fileName))); ?> -- cgit v1.2.3