diff --git a/application/views/helpers/FormInput.php b/application/views/helpers/FormInput.php index a16354f19..c35ac16b5 100644 --- a/application/views/helpers/FormInput.php +++ b/application/views/helpers/FormInput.php @@ -39,7 +39,7 @@ public function formInput($name, $value = null, $attribs = null) } $type = 'text'; - if ($attribs['type']) { + if (isset($attribs['type'])) { $type = $attribs['type']; unset($attribs['type']); }