From 5f5a782666dd2005e8cb7ee679eda281e807df18 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Mon, 4 Jul 2011 16:20:59 +0100 Subject: [PATCH] Bug 6562: Silence runtime error in reserve/request.pl Not defining action just causes logging of noisy runtime warnings. Signed-off-by: Chris Cormack (cherry picked from commit bb251a484fb9acbce9b162213278d7f5a49fa269) Signed-off-by: Chris Nighswonger --- reserve/request.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/reserve/request.pl b/reserve/request.pl index 0b3bebca85..2c5e29b441 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -93,6 +93,7 @@ my $messages; my $date = C4::Dates->today('iso'); my $action = $input->param('action'); +$action ||= q{}; if ( $action eq 'move' ) { my $where = $input->param('where'); -- 2.39.5