From 5231545bf4357443e15adfcc8134ddf503d03b28 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 --- admin/fieldmapping.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/fieldmapping.pl b/admin/fieldmapping.pl index b03fdbb7c6..1552010530 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