View | Details | Raw Unified | Return to bug 8215
Collapse All | Expand All

(-)a/opac/opac-course-details.pl (-6 lines)
Lines 39-53 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
39
    }
39
    }
40
);
40
);
41
41
42
my $action = $cgi->param('action') || '';
43
my $course_id = $cgi->param('course_id');
42
my $course_id = $cgi->param('course_id');
44
43
45
die("No course_id given") unless ($course_id);
44
die("No course_id given") unless ($course_id);
46
45
47
if ( $action eq 'del_reserve' ) {
48
    DelCourseReserve( cr_id => $cgi->param('cr_id') );
49
}
50
51
my $course = GetCourse($course_id);
46
my $course = GetCourse($course_id);
52
my $course_reserves = GetCourseReserves( course_id => $course_id, include_items => 1, include_count => 1 );
47
my $course_reserves = GetCourseReserves( course_id => $course_id, include_items => 1, include_count => 1 );
53
48
54
- 

Return to bug 8215