bug 8215: (followup) avoid spurious warning in Apache log
authorGalen Charlton <gmc@esilibrary.com>
Tue, 21 May 2013 16:06:18 +0000 (09:06 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 21 May 2013 23:01:08 +0000 (16:01 -0700)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
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') );