[Koha-bugs] [Bug 16707] Software Error in OPAC password recovery when leaving form fields empty

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 10 15:21:25 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16707

--- Comment #1 from Marc Véron <veron at veron.ch> ---
Created attachment 52225
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52225&action=edit
Bug 16707: Software Error in OPAC password recovery when leaving form fields
empty

This patch fixes a software Error in OPAC password recovery when leaving form
fields empty

To reproduce:
- Set syspref OpacResetPassword to "Allow"
- Go to OPAC
- Click link "Forgot your password?
- On the following screen "Forgotten password recovery", do not fill in form
fields, click "Submit"

Result:

Software error:
Can't use an undefined value as an ARRAY reference at
/usr/share/kohaclone/opac/opac-password-recovery.pl line 66.

To test:
- Apply patch
- Verify that the error no longer occurs

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list