From 77e865fc8ef8b41112885390881cf260b5c726ef Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 7 Sep 2016 13:45:52 -0700 Subject: pubsites: we still need to filter really really old redmatrix sites. These will not provide a pleasant experience. We probably should add version to the table. --- Zotlabs/Module/Pubsites.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Zotlabs/Module') diff --git a/Zotlabs/Module/Pubsites.php b/Zotlabs/Module/Pubsites.php index d8f272439..3dc0501d2 100644 --- a/Zotlabs/Module/Pubsites.php +++ b/Zotlabs/Module/Pubsites.php @@ -36,6 +36,8 @@ class Pubsites extends \Zotlabs\Web\Controller { $o .= ''; if($j['sites']) { foreach($j['sites'] as $jj) { + if(! $jj['project']) + continue; $m = parse_url($jj['url']); $host = strtolower(substr($jj['url'],strpos($jj['url'],'://')+3)); $rate_links = ((local_channel()) ? ' ' . t('Rate') . '' : ''); -- cgit v1.2.3