From 99408b6b2a67c357ebfd6a756a4e3eb02a7d4f08 Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Sun, 8 Jun 2014 18:08:54 +1000 Subject: [PATCH] Clean --- modules/backend/widgets/Form.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/backend/widgets/Form.php b/modules/backend/widgets/Form.php index 7ca905fd6..c8f265ccf 100644 --- a/modules/backend/widgets/Form.php +++ b/modules/backend/widgets/Form.php @@ -372,7 +372,9 @@ class Form extends WidgetBase return $field; } - + /* + * Defined field type + */ $fieldType = isset($config['type']) ? $config['type'] : null; if (!is_string($fieldType) && !is_null($fieldType)) throw new ApplicationException(Lang::get('backend::lang.field.invalid_type', ['type'=>gettype($fieldType)]));