summaryrefslogtreecommitdiffstats
path: root/files/ajax
diff options
context:
space:
mode:
Diffstat (limited to 'files/ajax')
-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)));
?>