fixed undefined index issues

This commit is contained in:
vishalsingh.qlo325
2025-05-12 12:30:14 +05:30
parent a0ae91f5de
commit 2ea34a23e2

View File

@@ -147,6 +147,9 @@ class TranslateCore
}
$iso = $language->iso_code;
if (!isset(self::$moduleTranslations[$iso])) {
self::$moduleTranslations[$iso] = array();
}
if ((isset(Context::getContext()->language) && !isset($translations_merged[$name])) || $force_refresh) {
$files_by_priority = array(
// Translations in theme