From bb2018bd8666cd79b213a6dfd86e6c401824cdeb Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 26 Dec 2018 12:42:28 -0300 Subject: [PATCH] Bug 22047: Fix opac/opac-passwd.pl call Signed-off-by: Kyle M Hall --- opac/opac-passwd.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-passwd.pl b/opac/opac-passwd.pl index 60d79f61c3..4c72d30c5c 100755 --- a/opac/opac-passwd.pl +++ b/opac/opac-passwd.pl @@ -60,7 +60,7 @@ if ( C4::Context->preference("OpacPasswordChange") ) { $template->param( 'passwords_mismatch' => '1' ); } else { try { - $patron->set_password( $new_password ); + $patron->set_password({ password => $new_password }); $template->param( 'password_updated' => '1' ); $template->param( 'borrowernumber' => $borrowernumber ); } -- 2.17.2 (Apple Git-113)