Ejegg has uploaded a new change for review.

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

Change subject: Fix one more oversight with record capture job
......................................................................

Fix one more oversight with record capture job

Wrong way to refer to class

Change-Id: I90b244c81891e8bc1d6f4e2f2be7db6d895cea9e
---
M CrmLink/Messages/DonationInterfaceMessage.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/SmashPig 
refs/changes/51/307651/1

diff --git a/CrmLink/Messages/DonationInterfaceMessage.php 
b/CrmLink/Messages/DonationInterfaceMessage.php
index 2dbb3be..360988f 100644
--- a/CrmLink/Messages/DonationInterfaceMessage.php
+++ b/CrmLink/Messages/DonationInterfaceMessage.php
@@ -47,7 +47,7 @@
                foreach ( $values as $key => $value ) {
                        // If we're creating this from a database row with some 
extra
                        // info such as the pending_id, only include the real 
properties
-                       if( property_exists( 'DonationInterfaceMessage', $key ) 
) {
+                       if( property_exists( self::class, $key ) ) {
                                $message->$key = $value;
                        }
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I90b244c81891e8bc1d6f4e2f2be7db6d895cea9e
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/SmashPig
Gerrit-Branch: master
Gerrit-Owner: Ejegg <eeggles...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to