From ee24d6a6bc05f637473bd8e3ea13022592d79313 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 Content-Type: text/plain; charset="utf-8" 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. --- admin/fieldmapping.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/fieldmapping.pl b/admin/fieldmapping.pl index b03fdbb..1552010 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) -- 1.7.9.5