Encoding ampersand
[koha.git] / opac / opac-detail.pl
index 93c1243..1fbd46e 100755 (executable)
@@ -4,6 +4,7 @@ require Exporter;
 use CGI;
 use C4::Search;
 use C4::Auth;
+use C4::Interface::CGI::Output;
 use HTML::Template;
 
 my $query=new CGI;
@@ -51,7 +52,8 @@ my $sitearray=\@websites;
 $template->param(BIBLIO_RESULTS => $resultsarray);
 $template->param(ITEM_RESULTS => $itemsarray);
 $template->param(WEB_RESULTS => $webarray);
-$template->param(SITE_RESULTS => $sitearray);
+$template->param(SITE_RESULTS => $sitearray,
+);
 
-print $query->header(-cookie => $cookie), $template->output;
+output_html_with_http_headers $query, $cookie, $template->output;