From 506e05933099cb34e64c64ab0b7db554085c5fad Mon Sep 17 00:00:00 2001
From: Owen Leonard <oleonard@myacpl.org>
Date: Tue, 8 Oct 2019 14:18:01 +0000
Subject: [PATCH] Bug 23778: Regression: Guarantor entry section no longer has
 a unique id

This patch adds back a fieldset ID which was accidentally removed by Bug
14570:

<fieldset id="memberentry_guarantor" class="rows">

This ID is important if libraries want to customize the patron entry
page to hide the guarantor section.

To test, apply the patch and go to Patrons -> New patron.

Inspect the markup and look at the fieldset labeled "Guarantor
information." It should have the correct ID attribute.
---
 koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
index 19c4b5f3c60..f36d98314b4 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
@@ -320,7 +320,7 @@
 
 [% IF show_guarantor || guarantor %]
     [% SET possible_relationships = Koha.Preference('borrowerRelationship') %]
-    <fieldset class="rows">
+    <fieldset id="memberentry_guarantor" class="rows">
         <legend>Guarantor information</legend>
 
         <span id="guarantor_relationships">
-- 
2.11.0