Eileen has uploaded a new change for review.

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

Change subject: Fix enotices due to passing wrong params to watchdog()
......................................................................

Fix enotices due to passing wrong params to watchdog()

The 3rd argument for watchdog is an array of variables

Change-Id: I6d3bd160070f135ae5b39af0c3c00fc4377fac13
---
M sites/all/modules/wmf_civicrm/wmf_civicrm.module
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/91/319491/1

diff --git a/sites/all/modules/wmf_civicrm/wmf_civicrm.module 
b/sites/all/modules/wmf_civicrm/wmf_civicrm.module
index 632867d..33fbd1a 100644
--- a/sites/all/modules/wmf_civicrm/wmf_civicrm.module
+++ b/sites/all/modules/wmf_civicrm/wmf_civicrm.module
@@ -1635,6 +1635,7 @@
         watchdog(
             'wmf_civicrm',
             'Message is missing order_id, looking for a substitute 
identifier.',
+            array(),
             WATCHDOG_INFO
         );
         $keys = array( 'contribution_tracking_id', 'gateway_txn_id' );
@@ -1643,6 +1644,7 @@
                 watchdog(
                     'wmf_civicrm',
                     "Filling order_id with {$msg[$key]} from key $key.",
+                    array(),
                     WATCHDOG_INFO
                 );
                 $msg['order_id'] = $msg[$key];

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

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

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

Reply via email to