From 281448f84e416d5fb925d096c21b1f60421a316f Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 21 May 2013 09:06:18 -0700 Subject: [PATCH] bug 8215: (followup) avoid spurious warning in Apache log Signed-off-by: Galen Charlton --- course_reserves/mod_course.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course_reserves/mod_course.pl b/course_reserves/mod_course.pl index 2a2c70f62d..5b5d940d29 100755 --- a/course_reserves/mod_course.pl +++ b/course_reserves/mod_course.pl @@ -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') ); -- 2.39.5