diff --git a/app/Models/CustomField.php b/app/Models/CustomField.php index 93942596c5..5e311a583a 100644 --- a/app/Models/CustomField.php +++ b/app/Models/CustomField.php @@ -285,6 +285,7 @@ class CustomField extends Model */ public function formatFieldValuesAsArray() { + $result = []; $arr = preg_split("/\\r\\n|\\r|\\n/", $this->field_values); if (($this->element!='checkbox') && ($this->element!='radio')) {