aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-07 13:45:52 -0700
committerredmatrix <mike@macgirvin.com>2016-09-07 13:45:52 -0700
commit77e865fc8ef8b41112885390881cf260b5c726ef (patch)
tree10303ecbf4f6a553f89bacc3f052c0ed5786b542
parent1fa7e2994ad32b17befcc983cb06e99371f84c01 (diff)
downloadvolse-hubzilla-77e865fc8ef8b41112885390881cf260b5c726ef.tar.gz
volse-hubzilla-77e865fc8ef8b41112885390881cf260b5c726ef.tar.bz2
volse-hubzilla-77e865fc8ef8b41112885390881cf260b5c726ef.zip
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.
-rw-r--r--Zotlabs/Module/Pubsites.php2
1 files changed, 2 insertions, 0 deletions
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 .= '</tr>';
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()) ? '<td><a href="rate?f=&target=' . $host . '" class="btn-btn-default"><i class="fa fa-check-square-o"></i> ' . t('Rate') . '</a></td>' : '');