]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Wed, 16 Feb 2022 20:51:22 +0000 (20:51 +0000)
commit2ad6647500502156dc0da611dc0a605f76a6558e
treec1e1fb8bfc156906fddc09c040cca387a371c6a2
parent3715a331e7aab697be9292929e28c4ba9d02613f
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 0c3cede046dd8cf68e238eb79aca3eea0925033a)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
opac/opac-password-recovery.pl