From 954e249959d27b73846ea8e992c2f049112b930a Mon Sep 17 00:00:00 2001 From: Lodewijk Evers Date: Thu, 30 Apr 2015 14:20:56 +0200 Subject: [PATCH] prevented null values for empty uploads --- Extension.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Extension.php b/Extension.php index 315a5a9..e2a245e 100644 --- a/Extension.php +++ b/Extension.php @@ -561,6 +561,8 @@ private function processForm($formconfig, $form, $formname) else { $data[$fieldname] = "Invalid upload, ignored ($originalname)"; } + } else { + $data[$fieldname] = "No file uploaded"; } }