summaryrefslogtreecommitdiff
path: root/program/include/rcube_html.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-02-28 22:15:52 +0000
committerthomascube <thomas@roundcube.net>2008-02-28 22:15:52 +0000
commit9b3e09f2320c16592f1305c500203b96c893a82c (patch)
tree47d08d42b1308144799c3ef7564419d0ed00ad0b /program/include/rcube_html.inc
parent27564f1a22d42cdcdb1d2972ca79cc537876c44c (diff)
Fix bug in html select class introduced with r1155
Diffstat (limited to 'program/include/rcube_html.inc')
-rw-r--r--program/include/rcube_html.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_html.inc b/program/include/rcube_html.inc
index 7c5c214ab..d5067cd40 100644
--- a/program/include/rcube_html.inc
+++ b/program/include/rcube_html.inc
@@ -616,10 +616,10 @@ class select extends rcube_form_element
if (is_array($names))
{
foreach ($names as $i => $text)
- $this->options[] = array('text' => $text, 'value' => (string)$values[$i]);
+ $this->options[] = array('text' => $text, 'value' => $values[$i]);
}
else
- $this->options[] = array('text' => $names, 'value' => (string)$values);
+ $this->options[] = array('text' => $names, 'value' => $values);
}