// Normalization

This commit is contained in:
mDeflotte committed 2011-10-04 12:04:19 +00:00
1 parent 77f597d97c
commit 6210c838e4
1 file changed
+1 -1
+1 -1
View File
@@ -110,7 +110,7 @@ class GroupCore extends ObjectModel
'.($limit > 0 ? 'LIMIT '.(int)$start.', '.(int)$limit : '')); '.($limit > 0 ? 'LIMIT '.(int)$start.', '.(int)$limit : ''));
} }
public static function getReduction($id_customer = NULL) public static function getReduction($id_customer = null)
{ {
if (!isset(self::$_cacheReduction['customer'][(int)$id_customer])) if (!isset(self::$_cacheReduction['customer'][(int)$id_customer]))
self::$_cacheReduction['customer'][(int)$id_customer] = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue(' self::$_cacheReduction['customer'][(int)$id_customer] = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('