[-] CORE : fixed bug #PSCFV-5252 - Module::addOverride() erase existing override method already existe
This commit is contained in:
@@ -219,7 +219,7 @@ abstract class ModuleCore
|
||||
$this->installOverrides();
|
||||
} catch (Exception $e) {
|
||||
$this->_errors[] = sprintf(Tools::displayError('Unable to install override: %s'), $e->getMessage());
|
||||
$this->uninstallOverrides();
|
||||
//$this->uninstallOverrides(); remove this line because if module a install an override, then module b install same override, this line will remove override of module a (if you find a bug related to this line please don't forget what i say before)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user