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

@@ -40,9 +40,9 @@ class AdminSpecificPriceRuleControllerCore extends AdminController
$this->multishop_context = Shop::CONTEXT_ALL;
/* if $_GET['id_shop'] is transmitted, virtual url can be loaded in config.php, so we wether transmit shop_id in herfs */
if ($this->id_shop = (int)Tools::getValue('shop_id')) {
$_GET['id_shop'] = $this->id_shop;
$_POST['id_shop'] = $this->id_shop;
if ($id_shop = (int)Tools::getValue('shop_id')) {
$_GET['id_shop'] = $id_shop;
$_POST['id_shop'] = $id_shop;
}
$this->list_reduction_type = array(