[gnome-web-www] Turn the object into an array



commit d8f5b4003c953da5392319663432495486c6a43b
Author: Andrea Veri <averi redhat com>
Date:   Mon Jan 25 16:17:50 2021 +0100

    Turn the object into an array

 theme/page-membership.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/theme/page-membership.php b/theme/page-membership.php
index fc22ea9..c3a07d1 100644
--- a/theme/page-membership.php
+++ b/theme/page-membership.php
@@ -2,7 +2,7 @@
 
 $members_url = "https://www.gnome.org/membership/memberslist";;
 
-$members = json_decode(file_get_contents($members_url));
+$members = json_decode(file_get_contents($members_url), true);
 
 ?>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]