bug 8215: (followup) avoid spurious warning in Apache log
[koha.git] / course_reserves / mod_course.pl
index 2a2c70f..5b5d940 100755 (executable)
@@ -37,7 +37,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
     }
 );
 
-my $action = $cgi->param('action');
+my $action = $cgi->param('action') || '';
 
 if ( $action eq 'del' ) {
     DelCourse( $cgi->param('course_id') );