Skip to content
Snippets Groups Projects
Commit f19787f8 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

move $l to top

parents ea732e5b 3ea9432d
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ if (!isset($_FILES['files'])) {
OCP\JSON::error(array('data' => array( 'message' => $l->t( 'No file was uploaded. Unknown error' ))));
exit();
}
foreach ($_FILES['files']['error'] as $error) {
if ($error != 0) {
$errors = array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment