aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-05 22:26:19 -0700
committerfriendica <info@friendica.com>2013-09-05 22:26:19 -0700
commitae624e9bce6fc3bb14ab6b6f8dcb88f2a082f086 (patch)
tree76b4567333f0f3ca76eceaea71417d968b48006c /mod
parent2c53017fb5fc250f3b8a9fa9fa33ff6ef0dd341f (diff)
downloadvolse-hubzilla-ae624e9bce6fc3bb14ab6b6f8dcb88f2a082f086.tar.gz
volse-hubzilla-ae624e9bce6fc3bb14ab6b6f8dcb88f2a082f086.tar.bz2
volse-hubzilla-ae624e9bce6fc3bb14ab6b6f8dcb88f2a082f086.zip
more fixes to public site list while waiting for a public site or two to show up
Diffstat (limited to 'mod')
-rw-r--r--mod/pubsites.php2
1 files changed, 1 insertions, 1 deletions
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 .= '<table><tr><td>' . t('Site URL') . '</td><td>' . t('Access Type') . '</td><td>' . t('Registration Policy') . '</td></tr>';
- foreach($j as $jj) {
+ foreach($j['sites'] as $jj) {
$o .= '<tr><td>' . $jj['url'] . '</td><td>' . $jj['access'] . '</td><td>' . $jj['register'] . '</td></tr>';
}