Merge branch 'ticket-fidelite' into develop

This commit is contained in:
Marion Muszynski 2016-04-21 18:37:44 +02:00
commit c6cdcd748b

View File

@ -591,7 +591,7 @@ class Loyalty extends Module
if ($newOrder->id == $this->loyaltyStateValidation->id_order_state)
{
$loyalty->id_loyalty_state = LoyaltyStateModule::getValidationId();
if ((int)($loyalty->discount_value) == 0) {
if ((float)($loyalty->discount_value) == 0) {
$loyalty->discount_value = LoyaltyModule::getOrderDiscountValue($order);
}
}