From 9b3e09f2320c16592f1305c500203b96c893a82c Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 28 Feb 2008 17:15:52 -0500
Subject: [PATCH] Fix bug in html select class introduced with r1155

---
 program/include/rcube_html.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/include/rcube_html.inc b/program/include/rcube_html.inc
index 7c5c214..d5067cd 100644
--- a/program/include/rcube_html.inc
+++ b/program/include/rcube_html.inc
@@ -616,10 +616,10 @@
     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);
   }
 
 

--
Gitblit v1.9.1