Lines 55-61
if ( C4::Context->preference("OpacPasswordChange") ) {
Link Here
|
55 |
my $error; |
55 |
my $error; |
56 |
my $new_password = $query->param('Newkey'); |
56 |
my $new_password = $query->param('Newkey'); |
57 |
my $confirm_password = $query->param('Confirm'); |
57 |
my $confirm_password = $query->param('Confirm'); |
58 |
if ( goodkey( $dbh, $borrowernumber, $query->param('Oldkey') ) ) { |
58 |
if ( goodkey( $dbh, $borrowernumber, scalar $query->param('Oldkey') ) ) { |
59 |
|
59 |
|
60 |
if ( $new_password ne $confirm_password ) { |
60 |
if ( $new_password ne $confirm_password ) { |
61 |
$template->param( 'Ask_data' => '1' ); |
61 |
$template->param( 'Ask_data' => '1' ); |
62 |
- |
|
|