Merge branch 'ticket-13010-ModifFraud'

This commit is contained in:
Marion 2017-05-03 15:49:10 +02:00
commit 0e41c41dc8

View File

@ -236,7 +236,7 @@ class FraudCore {
FROM `'._DB_PREFIX_.'order_history` h
LEFT JOIN `'._DB_PREFIX_.'orders` o on h.`id_order` = o.`id_order`
WHERE o.`id_customer` = '.(int) $this->customer->id.'
AND h.`id_order_state` IN (15,16,18)
AND h.`id_order_state` IN (15,16)
');
$already_suspect = Db::getInstance()->getValue('