@@ -, +, @@ opac-passwd.pl --- opac/opac-passwd.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/opac/opac-passwd.pl +++ a/opac/opac-passwd.pl @@ -55,7 +55,7 @@ if ( C4::Context->preference("OpacPasswordChange") ) { my $error; my $new_password = $query->param('Newkey'); my $confirm_password = $query->param('Confirm'); - if ( goodkey( $dbh, $borrowernumber, $query->param('Oldkey') ) ) { + if ( goodkey( $dbh, $borrowernumber, scalar $query->param('Oldkey') ) ) { if ( $new_password ne $confirm_password ) { $template->param( 'Ask_data' => '1' ); --