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>
This commit is contained in:
Jonathan Druart 2018-03-27 13:27:27 -03:00
parent b03ce512c4
commit da36fd4429
1 changed files with 3 additions and 1 deletions

View File

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