From ebc2437027d02e50580c1b7508122f3515075881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luciana=20Nu=C3=B1ez?= Date: Tue, 7 Feb 2023 10:10:49 -0400 Subject: [PATCH] PMCORE-4052 --- gulliver/system/class.bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulliver/system/class.bootstrap.php b/gulliver/system/class.bootstrap.php index b1af1edaa..6f61a4f0e 100644 --- a/gulliver/system/class.bootstrap.php +++ b/gulliver/system/class.bootstrap.php @@ -478,6 +478,7 @@ class Bootstrap if (!is_file(PATH_LANGUAGECONT . 'translation.en')) { return null; } + global $translation; // load the translations table require_once(PATH_LANGUAGECONT . 'translation.en'); $defaultTranslations = $translation; @@ -489,7 +490,6 @@ class Bootstrap $foreignTranslations = $translation; } - global $translation; if (defined("SHOW_UNTRANSLATED_AS_TAG") && SHOW_UNTRANSLATED_AS_TAG != 0) { $translation = $foreignTranslations; } else {