From e90c42c00478a5a72e9bb64a339d1c43ac1a476e 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 --- 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.20.1