mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
e_form select box default (first) value fix
This commit is contained in:
@@ -511,7 +511,7 @@ class e_form
|
||||
}
|
||||
$text = $this->select_open($name, $options)."\n";
|
||||
|
||||
if(vartrue($options['default']))
|
||||
if(isset($options['default']))
|
||||
{
|
||||
$text .= $this->option($options['default'], '');
|
||||
}
|
||||
|
Reference in New Issue
Block a user