Merge branch 'ticket-fidelite' into develop

This commit is contained in:
Marion Muszynski 2016-04-21 17:57:17 +02:00
commit c6559904ff

View File

@ -306,7 +306,7 @@ class LoyaltyModule extends ObjectModel
{
Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'loyalty_history` (`id_loyalty`, `id_loyalty_state`, `discount_value`, `date_add`)
VALUES ('.(int)($this->id).', '.(int)($this->id_loyalty_state).', '.(int)($this->discount_value).', NOW())');
VALUES ('.(int)($this->id).', '.(int)($this->id_loyalty_state).', '.(float)($this->discount_value).', NOW())');
}
}