[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 18:58:31 CEST 2016


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

Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #52225|0                           |1
        is obsolete|                            |

--- Comment #2 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 52252
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52252&action=edit
[SIGNED-OFF]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

Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
Work as expected. NO QA Test Tool errors

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


More information about the Koha-bugs mailing list