bug 8215: (followup) don't allow deleting course reserves from OPAC
authorGalen Charlton <gmc@esilibrary.com>
Tue, 21 May 2013 16:56:17 +0000 (09:56 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 21 May 2013 22:51:02 +0000 (15:51 -0700)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
opac/opac-course-details.pl

index df50e47..7281652 100755 (executable)
@@ -39,15 +39,10 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
     }
 );
 
-my $action = $cgi->param('action') || '';
 my $course_id = $cgi->param('course_id');
 
 die("No course_id given") unless ($course_id);
 
-if ( $action eq 'del_reserve' ) {
-    DelCourseReserve( cr_id => $cgi->param('cr_id') );
-}
-
 my $course = GetCourse($course_id);
 my $course_reserves = GetCourseReserves( course_id => $course_id, include_items => 1, include_count => 1 );