Encoding ampersand
[koha.git] / opac / opac-membership.pl
index 220df63..623acde 100644 (file)
@@ -2,8 +2,9 @@
 use strict;
 require Exporter;
 use CGI;
-
 use C4::Auth;       # get_template_and_user
+use HTML::Template;
+use C4::Interface::CGI::Output;
 
 my $query = new CGI;
 
@@ -15,4 +16,4 @@ my ($template, $borrowernumber, $cookie)
                             flagsrequired => {borrow => 1},
                         });
 
-print $query->header(-cookie => $cookie), $template->output;
+output_html_with_http_headers $query, $cookie, $template->output;