// Fix module active
This commit is contained in:
1 parent
809eac6308
commit
7a5187e84e
1 file changed
+3
-3
@@ -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()
|
||||||
@@ -613,4 +613,4 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
|||||||
}
|
}
|
||||||
die(Tools::jsonEncode(array('has_errors' => true)));
|
die(Tools::jsonEncode(array('has_errors' => true)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user