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

Imran Hussain imranh at sucs.org
Tue Sep 20 16:14:22 BST 2016


Imran Hussain pushed to branch sucs-site 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

- - - - -
13e9a0fd by Imran Hussain at 2016-09-20T16:15:56+01:00
Merge branch 'beta' into sucs-site

- - - - -


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...13e9a0fd1f9903669d412c280480a02023afacb7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20160920/510fdbfe/attachment.html>


More information about the Devel mailing list