From fb340d8fd8cecc6653536b30da4c6ae489fac948 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 21 Feb 2011 17:12:59 +0000 Subject: [PATCH] fixed problems with multi selct --- lam/lib/html.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/lib/html.inc b/lam/lib/html.inc index 80fc27bd..252ac0d5 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -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) {