diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2011-04-19 09:13:50 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2011-04-19 09:13:50 +0200 |
commit | 3d5c13a3e16bedc7e8ce062c82e4ddb3b42d2318 (patch) | |
tree | cc4c44e1fbb3bd37256ec11bcf99e9fec1fd87af /files/ajax/upload.php | |
parent | ef25b32856bb02f947297aaab03ba5265b3e9292 (diff) | |
download | nextcloud-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.php | 2 |
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))); ?> |