fixed problems with multi selct

This commit is contained in:
Roland Gruber 2011-02-21 17:12:59 +00:00
parent 0a5743b0ff
commit fb340d8fd8
1 changed files with 2 additions and 2 deletions

View File

@ -782,11 +782,11 @@ class htmlSelect extends htmlElement {
$this->selectedElements = $values[$this->name];
}
$multi = '';
$name = ' name="' . $this->name . '"';
if ($this->multiSelect) {
$multi = ' multiple';
$this->name = $this->name . '[]';
$name = ' name="' . $this->name . '[]"';
}
$name = ' name="' . $this->name . '"';
$size = ' size="' . $this->size . '"';
$class = '';
if ($this->rightToLeftTextDirection) {