Merge branch 'ticket-13010-FraudUpdate' into develop
This commit is contained in:
commit
de528d660b
@ -244,7 +244,7 @@ class FraudCore {
|
||||
FROM `'._DB_PREFIX_.'order_reputation` rep
|
||||
LEFT JOIN `'._DB_PREFIX_.'cart` c ON c.`id_cart` = rep.`id_cart`
|
||||
WHERE c.`id_customer` = '.(int) $this->customer->id.'
|
||||
AND rep.`score` > 100
|
||||
AND rep.`score` > 100 AND rep.`pass`= 0
|
||||
');
|
||||
|
||||
if ($already_suspect || $already_fraud) {
|
||||
@ -261,7 +261,7 @@ class FraudCore {
|
||||
WHERE cu.`firstname` = "'.pSQL($this->customer->firstname).'"
|
||||
AND cu.`lastname` = "'.pSQL($this->customer->lastname).'"
|
||||
AND c.`id_customer`!='.$this->customer->id.'
|
||||
AND rep.`score` > 100
|
||||
AND rep.`score` > 100 AND rep.`pass`= 0
|
||||
');
|
||||
|
||||
$already_fraud_by_names = Db::getInstance()->getValue('
|
||||
|
Loading…
Reference in New Issue
Block a user