1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 07:36:32 +02:00

Fix for custom class on select

This commit is contained in:
Cameron
2018-09-27 12:02:35 -07:00
parent c69184848c
commit 1f4bfa256c

View File

@@ -2929,11 +2929,11 @@ class e_form
if(!is_array($options)) parse_str($options, $options);
if(vartrue($options['size']) && !is_numeric($options['size']))
if(!empty($options['size']) && !is_numeric($options['size']))
{
if(!empty($options['class']))
{
$options['class'] .= "form-control input-".$options['size'];
$options['class'] .= " form-control input-".$options['size'];
}
else
{