use C4::Output;
use C4::Koha;
-use C4::CourseReserves;
+use C4::CourseReserves qw(GetCourse);
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
- {
- template_name => "course_reserves/course.tt",
+ { template_name => "course_reserves/course.tt",
query => $cgi,
type => "intranet",
authnotrequired => 0,
$template->param(
departments => GetAuthorisedValues('DEPARTMENT'),
- terms => GetAuthorisedValues('TERM'),
+ terms => GetAuthorisedValues('TERM'),
);
output_html_with_http_headers $cgi, $cookie, $template->output;