1
0
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:
secretr
2010-06-29 10:23:53 +00:00
parent a525d59474
commit ce385d7a81

View File

@@ -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'], '');
}