mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 23:26:41 +02:00
Fix for custom class on select
This commit is contained in:
@@ -2929,11 +2929,11 @@ class e_form
|
|||||||
if(!is_array($options)) parse_str($options, $options);
|
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']))
|
if(!empty($options['class']))
|
||||||
{
|
{
|
||||||
$options['class'] .= "form-control input-".$options['size'];
|
$options['class'] .= " form-control input-".$options['size'];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user