// Fix module active
This commit is contained in:
@@ -85,8 +85,8 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
||||
return Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('
|
||||
SELECT COUNT(*)
|
||||
FROM `'._DB_PREFIX_.'module` m
|
||||
'.Shop::addSqlAssociation('module', 'm', true, 'module_shop.active=1')
|
||||
);
|
||||
'.Shop::addSqlAssociation('module', 'm', true).'
|
||||
WHERE m.active = 1');
|
||||
}
|
||||
|
||||
public static function getModulesToUpdate()
|
||||
@@ -613,4 +613,4 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
||||
}
|
||||
die(Tools::jsonEncode(array('has_errors' => true)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user