Updated controllers, install and modules for PHP 8.x compatibility

This commit is contained in:
vishalsingh.qlo325
2025-05-23 15:08:00 +05:30
parent b9dbc449fe
commit 2f9c64d0fb
173 changed files with 688 additions and 939 deletions

View File

@@ -218,12 +218,12 @@ class AdminLocalizationControllerCore extends AdminController
public function sortLocalizationsPack($a, $b)
{
return $a['name'] > $b['name'];
return ($a['name'] > $b['name']) ? 1 : 0;
}
public function renderForm()
{
$localizations_pack = false;
$localizations_pack = [];
$this->tpl_option_vars['options_content'] = $this->renderOptions();
$xml_localization = Tools::simplexml_load_file(_QLO_API_URL_.'/xml/localization.xml');