From 6a2c5e5d703fbf10c734ba84b7b527af73691acd Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 15 Feb 2024 13:33:37 -0100 Subject: [PATCH] Bug 32693: Preparation: About script: versions versions is being used in both 'team' and 'about' tabs, needs to be moved Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer --- about.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/about.pl b/about.pl index 9254bbfd75..b3bf55221d 100755 --- a/about.pl +++ b/about.pl @@ -80,6 +80,7 @@ if ( defined C4::Context->config('docdir') ) { $docdir = C4::Context->config('intranetdir') . '/docs'; } +my %versions = C4::Context::get_versions(); my $config_timezone = C4::Context->config('timezone') // ''; my $config_invalid = !DateTime::TimeZone->is_valid_name( $config_timezone ); my $env_timezone = $ENV{TZ} // ''; @@ -672,8 +673,6 @@ $template->param( 'bad_yaml_prefs' => \@bad_yaml_prefs ) if @bad_yaml_prefs; $template->param( warnDbRowFormat => C4::Installer->has_non_dynamic_row_format ); } -my %versions = C4::Context::get_versions(); - $template->param( prefRequireChoosingExistingAuthority => $prefRequireChoosingExistingAuthority, prefAutoCreateAuthorities => $prefAutoCreateAuthorities, -- 2.39.5