use C4::Search;
use C4::Auth;
use C4::Output;
+use C4::Interface::CGI::Output;
my $query=new CGI;
my $type=$query->param('type');
publisher ttype))
{
my $value = $query->param($term);
-
next unless defined $value && $value ne "";
# Skip blank search terms
$search{$term} = $value;
}
# Print the page
-print $query->header(-cookie => $cookie), $template->output;
+output_html_with_http_headers $query, $cookie, $template->output;