From 302260539bdc972b02fdb0e47636a4666c6012c8 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Mon, 7 Oct 2013 12:08:39 +0200 Subject: [PATCH] // Report from https://github.com/Lupul/PrestaShop/commit/ebf09792e95598c30d8ac2617c4eabdd571be475 --- classes/order/OrderPayment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/order/OrderPayment.php b/classes/order/OrderPayment.php index 7d2d71bd8..8d0b3b9d8 100644 --- a/classes/order/OrderPayment.php +++ b/classes/order/OrderPayment.php @@ -49,7 +49,7 @@ class OrderPaymentCore extends ObjectModel 'id_currency' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true), 'amount' => array('type' => self::TYPE_FLOAT, 'validate' => 'isNegativePrice', 'required' => true), 'payment_method' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName'), - 'conversion_rate' => array('type' => self::TYPE_INT, 'validate' => 'isFloat'), + 'conversion_rate' => array('type' => self::TYPE_FLOAT, 'validate' => 'isFloat'), 'transaction_id' => array('type' => self::TYPE_STRING, 'validate' => 'isAnything', 'size' => 254), 'card_number' => array('type' => self::TYPE_STRING, 'validate' => 'isAnything', 'size' => 254), 'card_brand' => array('type' => self::TYPE_STRING, 'validate' => 'isAnything', 'size' => 254),