Bug 13690: use Koha::Schema only when it's needed
[koha.git] / patroncards / edit-template.pl
index a125eb5..8d07e8b 100755 (executable)
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use autouse 'Data::Dumper' => qw(Dumper);
 
 use C4::Auth qw(get_template_and_user);
 use C4::Output qw(output_html_with_http_headers);
-use C4::Creators 1.000000;
-use C4::Patroncards 1.000000;
+use C4::Creators;
+use C4::Patroncards;
 
 my $cgi = new CGI;
 my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
     {
-        template_name   => "patroncards/edit-template.tmpl",
+        template_name   => "patroncards/edit-template.tt",
         query           => $cgi,
         type            => "intranet",
         authnotrequired => 0,