move $l to top

remotes/origin/stable5
Jörn Friedrich Dreyer 12 years ago
commit f19787f84c
  1. 1
      apps/files/ajax/upload.php

@ -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(

Loading…
Cancel
Save