From be9fb6180835cf66a185197c9c2e1acc3acc6e56 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Wed, 29 Apr 2015 02:50:30 +0000 Subject: [PATCH] Bug 14075: Undefined value creates noisy warns in C4::AuthoritiesMarc This match sets $sortby (previously undefined value) as an empty string to get rid of the warns. To test: 1) Go to a URL such as http://localhost:8080/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operator=contains&value=a&marclist=any&and_or=and 2) Notice the warns in the error log 3) Apply patch 4) Reload URL 5) Notice page still works but no warns in error log --- C4/AuthoritiesMarc.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 050b9d7..1b97c97 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -18,7 +18,6 @@ package C4::AuthoritiesMarc; use strict; use warnings; -use lib '.'; use C4::Context; use MARC::Record; use C4::Biblio; -- 1.7.10.4