[-] BO : Update assign value
This commit is contained in:
@@ -361,7 +361,7 @@
|
|||||||
},
|
},
|
||||||
error: function(xhr, ajaxOptions, thrownError)
|
error: function(xhr, ajaxOptions, thrownError)
|
||||||
{
|
{
|
||||||
//jAlert("TECHNICAL ERROR"+res);
|
//jAlert("TECHNICAL ERROR"+xhr);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -372,7 +372,7 @@ class AdminModulesControllerCore extends AdminController
|
|||||||
{
|
{
|
||||||
if (($list = Tools::getValue('modules_list')) && is_array($list))
|
if (($list = Tools::getValue('modules_list')) && is_array($list))
|
||||||
foreach ($list as $id)
|
foreach ($list as $id)
|
||||||
if ($obj = Module::getInstanceById($id) && (isset($obj->module_key)))
|
if (($obj = Module::getInstanceById($id)) && (isset($obj->module_key)))
|
||||||
$this->sendStatisticRequest($obj->module_key);
|
$this->sendStatisticRequest($obj->module_key);
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
@@ -1058,7 +1058,7 @@ class AdminModulesControllerCore extends AdminController
|
|||||||
// When the XML cache file is up-to-date, the module may not be loaded yet
|
// When the XML cache file is up-to-date, the module may not be loaded yet
|
||||||
if (!class_exists($module->name))
|
if (!class_exists($module->name))
|
||||||
require_once(_PS_MODULE_DIR_.$module->name.'/'.$module->name.'.php');
|
require_once(_PS_MODULE_DIR_.$module->name.'/'.$module->name.'.php');
|
||||||
if ($object = new $module->name)
|
if ($object = new $module->name())
|
||||||
{
|
{
|
||||||
$object->runUpgradeModule();
|
$object->runUpgradeModule();
|
||||||
if ((count($errors_module_list = $object->getErrors())))
|
if ((count($errors_module_list = $object->getErrors())))
|
||||||
|
|||||||
Reference in New Issue
Block a user