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

Marc Véron <[email protected]> changed:

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

--- Comment #5 from Marc Véron <[email protected]> ---
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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/

Reply via email to