From f2572c0e0233927d56c1cf29ecac1eff75a025cb Mon Sep 17 00:00:00 2001
From: Martin Renvoize
Date: Tue, 4 Aug 2020 12:28:44 +0100
Subject: [PATCH] Bug 24201: (QA follow-up) Only display desks picker if
enabled
I missed a case on the authentication page with the prior patch of the
same name.
Signed-off-by: Josef Moravec
Signed-off-by: Jonathan Druart
---
koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
index b3650f8de2..699dd10eaf 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
@@ -83,7 +83,8 @@
[% END %]
- [% IF Desks.all %]
+
+ [% IF Koha.Preference('UseCirculationDesks') && Desks.all %]