thomascube
2008-02-28 9b3e09f2320c16592f1305c500203b96c893a82c
Fix bug in html select class introduced with r1155

1 files modified
4 ■■■■ changed files
program/include/rcube_html.inc 4 ●●●● patch | view | raw | blame | history
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);
  }