[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
Sat Jun 11 16:30:26 CEST 2016


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

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

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 52259
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52259&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."

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


More information about the Koha-bugs mailing list