From 6cd1891ffe5903a09e2deb04e852e967a2187ba0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 8 Aug 2016 15:11:56 +0100 Subject: [PATCH] Bug 16996: (follow-up) Do not explode if mandatory fields are missing When registering a new patron, if something went wrong, the form is resent to the template but without the categorycode (not a dropdown list anymore, but just displayed as a readonly value # TODO LATER). Signed-off-by: Marc Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt index 574a5fdd4b..ce9393de84 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -171,6 +171,7 @@ [% IF borrower %] [% Categories.GetName( borrower.categorycode ) %] + [% ELSE %]