[SUCS Devel] [Git][sucssite/sucs-site][sucs-site] 5 commits: Add "enviroments" to the sucssite ci thing.

Imran Hussain imranh at sucs.org
Mon Sep 5 20:26:39 BST 2016


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


Commits:
8132522d by Imran Hussain at 2016-07-15T11:00:51+01:00
Add "enviroments" to the sucssite ci thing.

https://projects.sucs.org/help/ci/environments

- - - - -
1f4a4016 by Imran Hussain at 2016-07-15T11:01:00+01:00
Add "enviroments" to the sucssite ci thing.

https://projects.sucs.org/help/ci/environments

- - - - -
c46edb84 by Imran Hussain at 2016-09-05T20:23:06+01:00
fix su api

- - - - -
25678b07 by Imran Hussain at 2016-09-05T20:26:16+01:00
Merge branch 'master' into beta

- - - - -
0dd851cc by Imran Hussain at 2016-09-05T20:28:07+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,10 +31,8 @@ $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 as $typeOfMember) {
-    foreach ($typeOfMember["Detail_Collection"]["Detail"] as $member) {
-        array_push($just_members, $member["@attributes"]);
-    }
+foreach ($membership_data["Detail_Collection"] as $member) {
+    array_push($just_members, $member["@attributes"]);
 }
 
 /* You can now use $just_members to probe member detials. It's an array of arrays which each contain:



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


More information about the Devel mailing list