We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8bcf423 + ea368cc commit 5cc82ecCopy full SHA for 5cc82ec
src/Controllers/UploadController.php
@@ -43,7 +43,7 @@ public function upload()
43
}
44
45
if (is_array($uploaded_files)) {
46
- $response = count($error_bag) > 0 ? $error_bag : parent::$success_response;
+ $response = count($error_bag) > 0 ? $error_bag : array(parent::$success_response);
47
} else { // upload via ckeditor 'Upload' tab
48
if (is_null($new_filename)) {
49
$response = $error_bag[0];
0 commit comments