summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_html.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_html.inc b/program/include/rcube_html.inc
index 18983a15a..7c5c214ab 100644
--- a/program/include/rcube_html.inc
+++ b/program/include/rcube_html.inc
@@ -647,7 +647,7 @@ class select extends rcube_form_element
$options_str .= sprintf("<%s%s%s>%s</%s>\n",
$this->_conv_case('option', 'tag'),
- !empty($option['value']) ? sprintf($value_str, Q($option['value'])) : '',
+ isset($option['value']) ? sprintf($value_str, Q($option['value'])) : '',
$selected,
Q($option['text'], 'strict', FALSE),
$this->_conv_case('option', 'tag'));