[SUCS Devel] [Git][sucssite/sucs-site][beta] 3 commits: Fix suapi again...

Imran Hussain imranh at sucs.org
Tue Sep 20 16:13:11 BST 2016


Imran Hussain pushed to branch beta at sucssite / sucs-site


Commits:
419d3d7c by Imran Hussain at 2016-09-20T16:10:40+01:00
Fix suapi again...

- - - - -
ac65d5d0 by Imran Hussain at 2016-09-20T16:11:55+01:00
Merge branch 'beta'

- - - - -
03035be4 by Imran Hussain at 2016-09-20T16:14:44+01:00
Merge branch 'master' into beta

- - - - -


1 changed file:

- lib/suapiv2.php


Changes:

=====================================
lib/suapiv2.php
=====================================
--- a/lib/suapiv2.php
+++ b/lib/suapiv2.php
@@ -31,7 +31,7 @@ $membership_data = $formated_raw_data["table1"]["table1_Product_Collection"]["ta
 
 // make a new array that just contains *every* member no matter what they bought
 $just_members = array();
-foreach ($membership_data["Detail_Collection"] as $member) {
+foreach ($membership_data["Detail_Collection"]["Detail"] as $member) {
     array_push($just_members, $member["@attributes"]);
 }
 



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/compare/0dd851cc82847a517bb6d17999da7f24354d5589...03035be4e6f8ff849973c753ab65368edc7c2c29
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20160920/c83db70c/attachment.html>


More information about the Devel mailing list