Skip to content

Commit fb7dfb3

Browse files
committed
HtmlFormFields bug fixed
1 parent b15fe79 commit fb7dfb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Ajax/semantic/html/collections/form/HtmlFormFields.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ public static function checkeds($name, $items=array(), $label=NULL, $values=arra
124124
}
125125
$fields[]=$itemO;
126126
}
127-
$radios=new HtmlFormFields("fields-".$name, $fields);
127+
$checkeds=new HtmlFormFields("fields-".$name, $fields);
128128
if (isset($label))
129-
$radios->setLabel($label)->setProperty("for", $name);
130-
return $radios;
129+
$checkeds->setLabel($label)->setProperty("for", $name);
130+
return $checkeds;
131131
}
132132

133133
public function setEqualWidth($_equalWidth) {

0 commit comments

Comments
 (0)