Skip to content

Commit f4b248f

Browse files
committedNov 24, 2011
Remove some deprecated form code.
1 parent dbc8408 commit f4b248f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/WebGUI/Form/SelectList.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ sub toHtml {
134134
$output .= '>'.$options->{$key}.'</option>';
135135
}
136136
$output .= '</select>'."\n";
137-
$output .= WebGUI::Form::Hidden($session, { name => $self->privateName('isIn'), value => 1, });
137+
$output .= WebGUI::Form::Hidden->new($session, { name => $self->privateName('isIn'), value => 1, })->toHtml;
138138
return $output;
139139
}
140140

0 commit comments

Comments
 (0)
Please sign in to comment.