From ce1f9033fbdccb883673577868fa6d74e357cf60 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 25 Jul 2018 10:37:57 -0300 Subject: [PATCH] Bug 21087: Fix one wrong call Signed-off-by: John Doe Signed-off-by: Tomas Cohen Arazi --- members/memberentry.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index ff77fbef0a..b48975ab6d 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -537,7 +537,9 @@ if ((!$nok) and $nodouble and ($op eq 'insert' or $op eq 'save')){ # updating any columns in the borrowers table, # which can happen if we're only editing the # patron attributes or messaging preferences sections - $patron->update_password($newdata{password}); # If != **** or '' # test here? + + $patron->update_password($newdata{userid}, $newdata{password}); + if (C4::Context->preference('ExtendedPatronAttributes') and $input->param('setting_extended_patron_attributes')) { C4::Members::Attributes::SetBorrowerAttributes($borrowernumber, $extended_patron_attributes); } -- 2.39.5