Browse Source

Bug 20480: send KOHA_VERSION even if only one language is enabled

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
18.05.x
Jonathan Druart 6 years ago
parent
commit
da36fd4429
  1. 4
      C4/Templates.pm

4
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;
}

Loading…
Cancel
Save