move $l to top

This commit is contained in:
Jörn Friedrich Dreyer 2013-01-03 11:57:42 +01:00
commit f19787f84c
1 changed files with 1 additions and 0 deletions

View File

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