Eileen has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/398783 )
Change subject: Extend risk score limiting to cover components of the score ...................................................................... Extend risk score limiting to cover components of the score Bug: T183102 Change-Id: I3c1b1a0d24bad9a27930d8246f9fdc448b7f1219 --- M sites/all/modules/queue2civicrm/fredge/AntifraudQueueConsumer.php 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm refs/changes/83/398783/1 diff --git a/sites/all/modules/queue2civicrm/fredge/AntifraudQueueConsumer.php b/sites/all/modules/queue2civicrm/fredge/AntifraudQueueConsumer.php index 0e5dfb0..9613f27 100644 --- a/sites/all/modules/queue2civicrm/fredge/AntifraudQueueConsumer.php +++ b/sites/all/modules/queue2civicrm/fredge/AntifraudQueueConsumer.php @@ -94,6 +94,9 @@ } if ( $id ) { foreach ( $msg['score_breakdown'] as $test => $score ) { + if ($score > 100000000) { + $score = 100000000; + } $breakdown = array( 'payments_fraud_id' => $id, 'filter_name' => $test, -- To view, visit https://gerrit.wikimedia.org/r/398783 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3c1b1a0d24bad9a27930d8246f9fdc448b7f1219 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/crm Gerrit-Branch: deployment Gerrit-Owner: Eileen <emcnaugh...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits