From ce385d7a81d26a95f8892440fe0b60f183628a4f Mon Sep 17 00:00:00 2001 From: secretr Date: Tue, 29 Jun 2010 10:23:53 +0000 Subject: [PATCH] e_form select box default (first) value fix --- e107_handlers/form_handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index 3a5491aa9..a7fc034a8 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -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'], ''); }