From ae624e9bce6fc3bb14ab6b6f8dcb88f2a082f086 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 5 Sep 2013 22:26:19 -0700 Subject: more fixes to public site list while waiting for a public site or two to show up --- mod/pubsites.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/pubsites.php') diff --git a/mod/pubsites.php b/mod/pubsites.php index 3e8833a9d..694541b7a 100644 --- a/mod/pubsites.php +++ b/mod/pubsites.php @@ -26,7 +26,7 @@ function pubsites_content(&$a) { $j = json_decode($ret['body'],true); if($j) { $o .= ''; - foreach($j as $jj) { + foreach($j['sites'] as $jj) { $o .= ''; } -- cgit v1.2.3
' . t('Site URL') . '' . t('Access Type') . '' . t('Registration Policy') . '
' . $jj['url'] . '' . $jj['access'] . '' . $jj['register'] . '