https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33832
--- Comment #12 from Brendan Lawlor <[email protected]> --- (In reply to David Cook from comment #8) > (In reply to Marcel de Rooy from comment #7) > > Seeing this: > > if ( $op eq 'cud-update' && $newpassword.defined and not @errors ) { > > > > What is $newpassword.defined ?? > > Wondering why perl does compile that? > > Please explain. > > It looks like a copy/paste error from the template toolkit where scalar > values can have methods. I'm new to Perl and mixed up this syntax from template tool kit. I think it should have been written as defined($newpassword) The idea of this patch is that if the user does not fill the form with both 'New password' and 'Confirm new password' then there's no need to check and set the password. I think this patch is close but needs another try. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
