use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
use C4::Output;
use C4::Reserves;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
- { template_name => "about.tmpl",
+ { template_name => "about.tt",
query => $cgi,
type => "intranet",
authnotrequired => 0,
}
);
-my $action = $cgi->param('action');
+my $action = $cgi->param('action') || '';
if ( $action eq 'del' ) {
DelCourse( $cgi->param('course_id') );