summaryrefslogtreecommitdiffstats
path: root/application/service
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-02-14 19:13:59 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-02-14 19:13:59 +0100
commit4f5f2f496bdc182ac9edeb2f416d12fa5e56a9ca (patch)
tree34c2af816b317742fb70edc1be2d0e9e5045ae3a /application/service
parentd7fc5f46a8b6faec4ec0c18089d94d21e505c36c (diff)
Use assoc array for service/files/verify_uploaded_files
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/service')
-rw-r--r--application/service/files.php2
1 files changed, 1 insertions, 1 deletions
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,