// Improve performance and bug fixes

This commit is contained in:
rGaillard
2012-06-06 16:22:48 +00:00
parent e636665621
commit 99b22fbbb8
32 changed files with 97 additions and 66 deletions
+2 -2
View File
@@ -108,8 +108,8 @@ class SpecificPriceRuleCore extends ObjectModel
$result = Db::getInstance()->insert('specific_price_rule_condition', array(
'id_specific_price_rule_condition' => '',
'id_specific_price_rule_condition_group' => (int)$id_specific_price_rule_condition_group,
'type' => $condition['type'],
'value' => $condition['value'],
'type' => pSQL($condition['type']),
'value' => (float)$condition['value'],
));
if (!$result)
return false;