From 6b183daf5a76a1a78316f08712c01ec2dafe2665 Mon Sep 17 00:00:00 2001 From: thomasb Date: Thu, 28 Feb 2008 22:15:52 +0000 Subject: Fix bug in html select class introduced with r1155 git-svn-id: https://svn.roundcube.net/trunk@1156 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_html.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/include') diff --git a/roundcubemail/program/include/rcube_html.inc b/roundcubemail/program/include/rcube_html.inc index 7c5c214ab..d5067cd40 100644 --- a/roundcubemail/program/include/rcube_html.inc +++ b/roundcubemail/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); } -- cgit v1.2.3