name, not id

git-svn-id: file:///home/shish/svn/shimmie2/trunk@289 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-07-16 07:42:31 +00:00
parent 36e819ec41
commit efcb4f9d55

View file

@ -108,7 +108,7 @@ class SetupBlock extends Block {
if(!is_null($label)) {
$this->body .= "<label for='$name'>$label</label>";
}
$html = "<select id='_config_$name' name='$name'>";
$html = "<select id='$name' name='_config_$name'>";
foreach($options as $optname => $optval) {
if($optval == $current) $selected=" selected";
else $selected="";