From 490c3882ac423e842e787ed8c157719dcf33a040 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Wed, 12 Aug 2015 00:00:35 +0000 Subject: [PATCH] Bug 14484: warns when changing patron pw MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To test: 1) Go to any patron's page, click Change password 2) Notice warns in error log 3) Apply patch, reload page 4) Click Change password 5) Notice warns are gone and page still works correctly Signed-off-by: Joonas Kylmälä Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- members/member-password.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/member-password.pl b/members/member-password.pl index 310d641605..28f5ea02ec 100755 --- a/members/member-password.pl +++ b/members/member-password.pl @@ -101,7 +101,7 @@ if (C4::Context->preference('ExtendedPatronAttributes')) { } # Computes full borrower address -my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} ); +my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} ) // ''; my $address = $bor->{'streetnumber'} . " $roadtype " . $bor->{'address'}; $template->param( othernames => $bor->{'othernames'}, -- 2.39.5