From 638c4e817d9cd891078b24a2a10d2445439fd98f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 12 Jun 2010 18:01:55 +0000 Subject: [PATCH] fixed return of field types --- lam/lib/html.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lam/lib/html.inc b/lam/lib/html.inc index 98917a16..5713cd89 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -333,7 +333,7 @@ class htmlButton implements htmlElement { } } echo ''; - return array($this->name, 'submit'); + return array($this->name => 'submit'); } } @@ -455,10 +455,10 @@ class htmlSelect implements htmlElement { } echo "\n"; if ($this->multiSelect) { - return array($this->name, 'multiselect'); + return array($this->name => 'multiselect'); } else { - return array($this->name, 'select'); + return array($this->name => 'select'); } }