Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a few typos in the deprecated code fix.
  • Loading branch information
perlDreamer committed Nov 25, 2011
1 parent bcc81e9 commit 1777b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/WebGUI/Asset/Wobject/WikiMaster.pm
Expand Up @@ -350,8 +350,8 @@ sub appendSearchBoxVars {
$var->{'searchFormHeader'} = join '',
(WebGUI::Form::formHeader($self->session, { action => $self->getUrl, method => 'GET', }),
WebGUI::Form::Hidden->new($self->session, { name => 'func', value => 'search' })->toHtml);
$var->{'searchQuery'} = WebGUI::Form::Text($self->session, { name => 'query', value => $queryText })->toHtml;
$var->{'searchSubmit'} = WebGUI::Form::Submit($self->session, { value => $submitText }->toHtml);
$var->{'searchQuery'} = WebGUI::Form::Text->new($self->session, { name => 'query', value => $queryText })->toHtml;
$var->{'searchSubmit'} = WebGUI::Form::Submit->new($self->session, { value => $submitText })->toHtml;
$var->{'searchFormFooter'} = WebGUI::Form::formFooter($self->session);
$var->{'canAddPages'} = $self->canEditPages();
return $self;
Expand Down

0 comments on commit 1777b01

Please sign in to comment.