]> 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)
committerKyle Hall <kyle@bywatersolutions.com>
Mon, 7 Feb 2022 11:49:59 +0000 (06:49 -0500)
commit0c3cede046dd8cf68e238eb79aca3eea0925033a
treef1536fbba6e21c81bef24c69bd472c4941547231
parentaaa966c96de807386f99d6598c2cbe5dcb8bdd0f
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>
opac/opac-password-recovery.pl