Bug 32021: Don't show 'appear in position' for Pages
[srvgit] / opac / opac-course-details.pl
index 3afa8a9..415cade 100755 (executable)
@@ -22,20 +22,18 @@ use Modern::Perl;
 
 use CGI qw ( -utf8 );
 
-use C4::Auth;
-use C4::Output;
-use C4::Koha;
+use C4::Auth qw( get_template_and_user );
+use C4::Output qw( output_html_with_http_headers );
 
-use C4::CourseReserves qw(GetCourse GetCourseReserves);
+use C4::CourseReserves qw( GetCourse GetCourseReserve GetCourseReserves );
 
-my $cgi = new CGI;
+my $cgi = CGI->new;
 
 my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
     {   template_name   => "opac-course-details.tt",
         query           => $cgi,
         type            => "opac",
         authnotrequired => 1,
-        debug           => 1,
     }
 );