From 4f5f2f496bdc182ac9edeb2f416d12fa5e56a9ca Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 14 Feb 2015 19:13:59 +0100 Subject: Use assoc array for service/files/verify_uploaded_files Signed-off-by: Florian Pritz --- application/service/files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/service/files.php') diff --git a/application/service/files.php b/application/service/files.php index 802ba70af..922320e11 100644 --- a/application/service/files.php +++ b/application/service/files.php @@ -125,7 +125,7 @@ class files { } if ($error_message != "") { - $errors[] = array( + $errors[$file["formfield"]] = array( "filename" => $file["name"], "formfield" => $file["formfield"], "message" => $error_message, -- cgit v1.2.3-24-g4f1b