Lines 40-46
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
Link Here
|
40 |
my $action = $cgi->param('action') || ''; |
40 |
my $action = $cgi->param('action') || ''; |
41 |
|
41 |
|
42 |
if ( $action eq 'del' ) { |
42 |
if ( $action eq 'del' ) { |
43 |
DelCourse( $cgi->param('course_id') ); |
43 |
DelCourse( scalar $cgi->param('course_id') ); |
44 |
print $cgi->redirect("/cgi-bin/koha/course_reserves/course-reserves.pl"); |
44 |
print $cgi->redirect("/cgi-bin/koha/course_reserves/course-reserves.pl"); |
45 |
} else { |
45 |
} else { |
46 |
my %params; |
46 |
my %params; |
47 |
- |
|
|