Updated: Code review changes implemented
Co-authored-by: Name <sumit201@webkul.in>
This commit is contained in:
@@ -403,7 +403,7 @@ abstract class ModuleCore
|
||||
// Install module and retrieve the installation id
|
||||
$result = Db::getInstance()->insert($this->table, array('name' => $this->name, 'active' => 1, 'version' => $this->version));
|
||||
if (!$result) {
|
||||
$this->_errors[] = Tools::displayError('Technical error: PrestaShop could not install this module.');
|
||||
$this->_errors[] = Tools::displayError('Technical error: QloApps could not install this module.');
|
||||
return false;
|
||||
}
|
||||
$this->id = Db::getInstance()->Insert_ID();
|
||||
|
||||
Reference in New Issue
Block a user