From 4ddc8cc5a509f4765740ae2b5b3e4112c1e86488 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Mon, 3 Sep 2012 11:00:32 +0800 Subject: [PATCH] Bug 8713 - Warning message triggered by clicking Keywords to MARC mapping In the Koha Administration screen, clicking Keywords to MARC mapping triggered an uninitialized $op warning in the koha error logs. Added a "|| q{}" to ensure it is set. Signed-off-by: Jonathan Druart Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack Signed-off-by: Jared Camins-Esakov --- admin/fieldmapping.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/fieldmapping.pl b/admin/fieldmapping.pl index f7eca3c808..d9e463fef7 100755 --- a/admin/fieldmapping.pl +++ b/admin/fieldmapping.pl @@ -31,7 +31,7 @@ my $framework = $query->param('framework') || ""; my $field = $query->param('fieldname'); my $fieldcode = $query->param('marcfield'); my $subfieldcode = $query->param('marcsubfield'); -my $op = $query->param('op'); +my $op = $query->param('op') || q{}; my $id = $query->param('id'); my ($template, $loggedinuser, $cookie) -- 2.39.5