From da36fd4429863c77570543a08978d0ef1e290e41 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 27 Mar 2018 13:27:27 -0300 Subject: [PATCH] Bug 20480: send KOHA_VERSION even if only one language is enabled Signed-off-by: Kyle M Hall Signed-off-by: Kyle M Hall Signed-off-by: Jonathan Druart --- C4/Templates.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/C4/Templates.pm b/C4/Templates.pm index f8275f7a84..d1b7a57543 100644 --- a/C4/Templates.pm +++ b/C4/Templates.pm @@ -241,8 +241,10 @@ sub gettemplate { $template->param( languages_loop => $languages_loop, one_language_enabled => $one_language_enabled, - KOHA_VERSION => C4::Context->preference('Version') ) unless $one_language_enabled; + $template->param( + KOHA_VERSION => C4::Context->preference('Version') + ); return $template; } -- 2.39.5