Skip to content

Commit 1777b01

Browse files
committedNov 25, 2011
Fix a few typos in the deprecated code fix.
1 parent bcc81e9 commit 1777b01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎lib/WebGUI/Asset/Wobject/WikiMaster.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@ sub appendSearchBoxVars {
350350
$var->{'searchFormHeader'} = join '',
351351
(WebGUI::Form::formHeader($self->session, { action => $self->getUrl, method => 'GET', }),
352352
WebGUI::Form::Hidden->new($self->session, { name => 'func', value => 'search' })->toHtml);
353-
$var->{'searchQuery'} = WebGUI::Form::Text($self->session, { name => 'query', value => $queryText })->toHtml;
354-
$var->{'searchSubmit'} = WebGUI::Form::Submit($self->session, { value => $submitText }->toHtml);
353+
$var->{'searchQuery'} = WebGUI::Form::Text->new($self->session, { name => 'query', value => $queryText })->toHtml;
354+
$var->{'searchSubmit'} = WebGUI::Form::Submit->new($self->session, { value => $submitText })->toHtml;
355355
$var->{'searchFormFooter'} = WebGUI::Form::formFooter($self->session);
356356
$var->{'canAddPages'} = $self->canEditPages();
357357
return $self;

0 commit comments

Comments
 (0)