Merge branch 'bootstrap' of https://github.com/PrestaShop/PrestaShop into bootstrap

This commit is contained in:
Rémi Gaillard
2013-10-11 14:11:28 +02:00
+3 -3
View File
@@ -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)));
}
}
}