// Fix module active
This commit is contained in:
1 parent
809eac6308
commit
7a5187e84e
1 file changed
+2
-2
@@ -85,8 +85,8 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
|||||||
return Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('
|
return Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('
|
||||||
SELECT COUNT(*)
|
SELECT COUNT(*)
|
||||||
FROM `'._DB_PREFIX_.'module` m
|
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()
|
public static function getModulesToUpdate()
|
||||||
|
|||||||
Reference in new issue
Block a user