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 .= ''; }
' . t('Site URL') . '' . t('Access Type') . '' . t('Registration Policy') . '
' . $jj['url'] . '' . $jj['access'] . '' . $jj['register'] . '