summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-01-03 11:57:42 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-01-03 12:00:07 +0100
commitf19787f84c775bf74a9266a2fd44b73fb42312f0 (patch)
tree0ea834f5cc3435e4dfc8c7c95bbf3bdf6b51d6f3 /apps
parentea732e5b29939173f1a61ef97c6271a56c70cec4 (diff)
parent3ea9432d43c8a53934ff01c861bde35d22235760 (diff)
downloadnextcloud-server-f19787f84c775bf74a9266a2fd44b73fb42312f0.tar.gz
nextcloud-server-f19787f84c775bf74a9266a2fd44b73fb42312f0.zip
move $l to top
Diffstat (limited to 'apps')
-rw-r--r--apps/files/ajax/upload.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/ajax/upload.php b/apps/files/ajax/upload.php
index 4053cf5f8b0..d9960494cc8 100644
--- a/apps/files/ajax/upload.php
+++ b/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(