]> git.koha-community.org Git - koha.git/commit
Bug 29646: Fix undefined category crash in opac-password-recovery
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 6 Dec 2021 08:31:48 +0000 (08:31 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 22 Jan 2022 07:34:51 +0000 (21:34 -1000)
commita1ac05193dddc82e70eb2ef8a37a4a40e86f6b87
treef058f8e6a2ee946ea96c955543f68b008d607f3d
parente653effe5783e149f5ab69f388aa5509db454ef4
Bug 29646: Fix undefined category crash in opac-password-recovery

The crash is a result of a not found borrower. This is typically
a bad or repeated recovery attempt.

Test plan:
Do a password recovery.
Use the mailed URL twice.
Without this patch, the second attempt crashes.
With this patch, the second attempt shows an error dialog.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-password-recovery.pl