Awight has uploaded a new change for review.

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

Change subject: Fix typo in the audit framework
......................................................................

Fix typo in the audit framework

Change-Id: I0efd52ef345e389fce4151fb329c7915ac488529
---
M sites/all/modules/wmf_audit/wmf_audit.module
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/45/177945/1

diff --git a/sites/all/modules/wmf_audit/wmf_audit.module 
b/sites/all/modules/wmf_audit/wmf_audit.module
index 982d223..55679ba 100644
--- a/sites/all/modules/wmf_audit/wmf_audit.module
+++ b/sites/all/modules/wmf_audit/wmf_audit.module
@@ -168,7 +168,7 @@
   wmf_audit_echo("Processing 'negative' transactions");
   $neg_count = 0;
 
-  if (array_key_exists('negative', $missing) && 
!empty($total_missing['negative'])) {
+  if (array_key_exists('negative', $total_missing) && 
!empty($total_missing['negative'])) {
     foreach ($total_missing['negative'] as $record) {
       //check to see if the parent exists. If it does, normalize and send.
       if (worldpay_audit_main_transaction_exists_in_civi($record)) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0efd52ef345e389fce4151fb329c7915ac488529
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