[Koha-patches] [PATCH] [SIGNED-OFF] Bug 6562: Silence runtime error in reserve/request.pl
Christophe Croullebois
christophe.croullebois at biblibre.com
Fri Aug 5 12:29:32 CEST 2011
From: Colin Campbell <colin.campbell at ptfs-europe.com>
Not defining action just causes logging of noisy
runtime warnings.
Signed-off-by: Christophe Croullebois <christophe.croullebois at biblibre.com>
---
reserve/request.pl | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/reserve/request.pl b/reserve/request.pl
index 79ff6b5..0c952b4 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');
--
1.7.0.4
More information about the Koha-patches
mailing list