fixed #4137: Calendar Search page has extra head tags in body

This commit is contained in:
Doug Bell 2009-01-15 20:12:36 +00:00
parent 8cee4f745a
commit 96662a5f59
2 changed files with 4 additions and 8 deletions

View file

@ -7,6 +7,7 @@
- fixed #9507: Navigation: relDepth is calculated with starting point, instead of the first displayed page
- fixed a bug where no Payment Gateway labels show up when checking out.
- fixed #9511: Subcategories displayed incorrectly
- fixed #4137: Calendar Search page has head tags in body
7.6.8
- added #!/usr/bin/env perl to all utility scripts

View file

@ -2064,14 +2064,9 @@ sub www_search {
});
# This is very bad! It should be $self->processStyle or whatnot.
$self->session->http->sendHeader;
my $template = WebGUI::Asset::Template->new($self->session,$self->get("templateIdSearch"));
my $style = $self->session->style->process($self->getSeparator,$self->get("styleTemplateId"));
my ($head, $foot) = split($self->getSeparator,$style);
$self->session->output->print($head, 1);
$self->session->output->print($self->processTemplate($var, undef, $template));
$self->session->output->print($foot, 1);
return "chunked";
return $self->processStyle(
$self->processTemplate( $var, $self->get('templateIdSearch') )
);
}
#----------------------------------------------------------------------------