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');
}
}