[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
Sun Jun 12 11:21:54 CEST 2016


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

Marc Véron <veron at veron.ch> changed:

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

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

The $search_results is considered as an arrayref but is not defined if
no patron matches the recovery infos.

Test plan:
- 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"
=> Without this patch you got the software error
=> With this patch apply, you will get "No account was found with the
provided information."

Sign-off on counter patch.
Signed-off-by: Marc Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list