Awight has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/298306

Change subject: Use the decoded array to access message content
......................................................................

Use the decoded array to access message content

Change-Id: I8c89d14107065e69763ba8f581201d625fecae6a
---
M sites/all/modules/queue2civicrm/fredge/wmf_fredge_qc.module
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/06/298306/1

diff --git a/sites/all/modules/queue2civicrm/fredge/wmf_fredge_qc.module 
b/sites/all/modules/queue2civicrm/fredge/wmf_fredge_qc.module
index 0c83c0d..49b4cf1 100644
--- a/sites/all/modules/queue2civicrm/fredge/wmf_fredge_qc.module
+++ b/sites/all/modules/queue2civicrm/fredge/wmf_fredge_qc.module
@@ -116,8 +116,8 @@
   $dbs->push('fredge');
   $query = 'SELECT id FROM payments_initial WHERE contribution_tracking_id = 
:ct_id AND order_id = :order_id LIMIT 1';
   $result = db_query( $query, array(
-    ':ct_id' => $msg['contribution_tracking_id'],
-    ':order_id' => $msg['order_id']
+    ':ct_id' => $body['contribution_tracking_id'],
+    ':order_id' => $body['order_id']
   ) );
   if ( $result->rowCount() === 1 ){
     $id = $result->fetch()->id;

-- 
To view, visit https://gerrit.wikimedia.org/r/298306
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8c89d14107065e69763ba8f581201d625fecae6a
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Awight <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to