From 7d32333df31a655acbb09057f2799ed0f81ebb6f Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 8 Sep 2022 14:03:51 +0000 Subject: [PATCH] Bug 31535: Fix warning - uninitialized value $mode in string ne (addbiblio.pl) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Line number varies across versions. (Should be L887 now.) Resolves: Use of uninitialized value $mode in string ne at /usr/share/koha/cataloguing/addbiblio.pl line 845. No test plan here. This is trivial. Read the patch. Signed-off-by: Marcel de Rooy Signed-off-by: Joonas Kylmälä Signed-off-by: Tomas Cohen Arazi --- cataloguing/addbiblio.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index aba83e7b37..436dcf901a 100755 --- a/cataloguing/addbiblio.pl +++ b/cataloguing/addbiblio.pl @@ -719,7 +719,7 @@ my $parentbiblio = $input->param('parentbiblionumber'); my $breedingid = $input->param('breedingid'); my $z3950 = $input->param('z3950'); my $op = $input->param('op') // q{}; -my $mode = $input->param('mode'); +my $mode = $input->param('mode') // q{}; my $frameworkcode = $input->param('frameworkcode'); my $redirect = $input->param('redirect'); my $searchid = $input->param('searchid') // ""; -- 2.39.5