Skip to content
Permalink
Browse files

Fix a few typos in the deprecated code fix.

  • Loading branch information...
perlDreamer committed Nov 25, 2011
1 parent bcc81e9 commit 1777b019a58a07df7d28e803fff51f44d6dff630
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/WebGUI/Asset/Wobject/WikiMaster.pm
@@ -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;

0 comments on commit 1777b01

Please sign in to comment.
You can’t perform that action at this time.