From b8cc50c6763292f9d1c62a4ebad6ee34053ab9ef Mon Sep 17 00:00:00 2001 From: Peter Thaleikis Date: Fri, 11 Sep 2015 00:08:09 +1200 Subject: [PATCH] adding space --- code/model/UserDefinedForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/model/UserDefinedForm.php b/code/model/UserDefinedForm.php index ad9690b..0207ca4 100755 --- a/code/model/UserDefinedForm.php +++ b/code/model/UserDefinedForm.php @@ -610,7 +610,7 @@ JS } } - if(!empty($data[$field->Name])){ + if(!empty($data[$field->Name])) { if(in_array("EditableFileField", $field->getClassAncestry())) { if(isset($_FILES[$field->Name])) { $foldername = $field->getFormField()->getFolderName(); @@ -632,7 +632,7 @@ JS $submittedField->UploadedFileID = $file->ID; // attach a file only if lower than 1MB - if($file->getAbsoluteSize() < 1024*1024*1){ + if($file->getAbsoluteSize() < 1024*1024*1) { $attachments[] = $file; } }