summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
Diffstat (limited to 'program/include')
-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 d5067cd40..d23760ade 100644
--- a/program/include/rcube_html.inc
+++ b/program/include/rcube_html.inc
@@ -636,7 +636,7 @@ class select extends rcube_form_element
$value_str = $this->_conv_case(' value="%s"', 'attrib');
if (!is_array($select))
- $select = array((string)$select);
+ $select = array($select);
foreach ($this->options as $option)
{