Adamw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/60913
Change subject: Bad bug broke schema upgrades
......................................................................
Bad bug broke schema upgrades
Change-Id: Iba04155d8ed7332b99d9acec539622b1662af91c
---
M sites/all/modules/wmf_common/wmf_civicrm/bootstrap.inc
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm
refs/changes/13/60913/1
diff --git a/sites/all/modules/wmf_common/wmf_civicrm/bootstrap.inc
b/sites/all/modules/wmf_common/wmf_civicrm/bootstrap.inc
index c3338ec..9802178 100644
--- a/sites/all/modules/wmf_common/wmf_civicrm/bootstrap.inc
+++ b/sites/all/modules/wmf_common/wmf_civicrm/bootstrap.inc
@@ -59,8 +59,8 @@
$api->OptionGroup->Get(array(
'name' => $group_name,
));
- $values = $api->values();
- $option_group = array_pop($values);
+ $result = $api->values();
+ $option_group = array_pop($result);
foreach ($values as $value)
{
$api->OptionValue->Get(array(
--
To view, visit https://gerrit.wikimedia.org/r/60913
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iba04155d8ed7332b99d9acec539622b1662af91c
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