aboutsummaryrefslogtreecommitdiffstats
path: root/files/ajax/upload.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2011-04-19 09:13:50 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2011-04-19 09:13:50 +0200
commit3d5c13a3e16bedc7e8ce062c82e4ddb3b42d2318 (patch)
treecc4c44e1fbb3bd37256ec11bcf99e9fec1fd87af /files/ajax/upload.php
parentef25b32856bb02f947297aaab03ba5265b3e9292 (diff)
downloadnextcloud-server-3d5c13a3e16bedc7e8ce062c82e4ddb3b42d2318.tar.gz
nextcloud-server-3d5c13a3e16bedc7e8ce062c82e4ddb3b42d2318.zip
don't create firefox hardlock
Diffstat (limited to 'files/ajax/upload.php')
-rw-r--r--files/ajax/upload.php2
1 files changed, 1 insertions, 1 deletions
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)));
?>