aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Pubsites.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-21 21:32:59 -0700
committerzotlabs <mike@macgirvin.com>2017-09-21 21:32:59 -0700
commitfefc2290a142072f740d091e800258d957378e96 (patch)
treec8dcf6ed7bc42bd1e089dab1d0d7291f6028e0a6 /Zotlabs/Module/Pubsites.php
parent6bd35ef74006d4220640983e2aa72decd49f6379 (diff)
downloadvolse-hubzilla-fefc2290a142072f740d091e800258d957378e96.tar.gz
volse-hubzilla-fefc2290a142072f740d091e800258d957378e96.tar.bz2
volse-hubzilla-fefc2290a142072f740d091e800258d957378e96.zip
pubsites broken and directory server admin selection includes known dead sites
Diffstat (limited to 'Zotlabs/Module/Pubsites.php')
-rw-r--r--Zotlabs/Module/Pubsites.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Pubsites.php b/Zotlabs/Module/Pubsites.php
index d87967189..ef02cf099 100644
--- a/Zotlabs/Module/Pubsites.php
+++ b/Zotlabs/Module/Pubsites.php
@@ -36,7 +36,8 @@ class Pubsites extends \Zotlabs\Web\Controller {
$o .= '</tr>';
if($j['sites']) {
foreach($j['sites'] as $jj) {
- if(! \Zotlabs\Lib\System::compatible_project($jj['project']))
+ $projectname = explode(' ',$jj['project']);
+ if(! \Zotlabs\Lib\System::compatible_project($projectname[0]))
continue;
if(strpos($jj['version'],' ')) {
$x = explode(' ', $jj['version']);