Adamw has uploaded a new change for review.

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


Change subject: typo in otherwise annoying code
......................................................................

typo in otherwise annoying code

Change-Id: I8394fe40eff2c0250b40aed239e0c108f0be4b73
TODO: migrate batch_number out of the Gift_Information group
---
M sites/all/modules/offline2civicrm/offline2civicrm.install
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/43/73543/1

diff --git a/sites/all/modules/offline2civicrm/offline2civicrm.install 
b/sites/all/modules/offline2civicrm/offline2civicrm.install
index 0b78c5e..38a370a 100644
--- a/sites/all/modules/offline2civicrm/offline2civicrm.install
+++ b/sites/all/modules/offline2civicrm/offline2civicrm.install
@@ -19,7 +19,7 @@
     ));
     $values = $api->values();
     $custom_group = array_pop($values);
-    if (!$success || !$custom_group->id) {
+    if (!$success || !$custom_group) {
         throw new Exception("Missing custom group 'Gift Information', " . 
$api->errorMsg());
     }
 

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

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

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

Reply via email to