Merge pull request #1932 from shazar-webkul/gli-3188

Fixed: Module list incomplete XML error on back office from QloApps API
This commit is contained in:
Rohit Jain
2026-10-14 19:27:35 +05:30
committed by GitHub
2 changed files with 21 additions and 4 deletions

View File

@@ -2407,7 +2407,7 @@ class AdminControllerCore extends Controller
}
} else {
foreach (libxml_get_errors() as $error) {
$this->errors[] = Tools::displayError(sprintf('Error found : %1$s in country_module_list.xml file.', $error->message));
$this->errors[] = Tools::displayError(sprintf('Error found : %1$s in %2$s file.', $error->message, basename(Module::CACHE_FILE_DEFAULT_COUNTRY_MODULES_LIST)));
}
}
}