aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Admin/Site.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/Admin/Site.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/Admin/Site.php')
-rw-r--r--Zotlabs/Module/Admin/Site.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Admin/Site.php b/Zotlabs/Module/Admin/Site.php
index 4c5b82e78..4946e3433 100644
--- a/Zotlabs/Module/Admin/Site.php
+++ b/Zotlabs/Module/Admin/Site.php
@@ -206,7 +206,7 @@ class Site {
// directory server should not be set or settable unless we are a directory client
if($dirmode == DIRECTORY_MODE_NORMAL) {
- $x = q("select site_url from site where site_flags in (%d,%d) and site_realm = '%s'",
+ $x = q("select site_url from site where site_flags in (%d,%d) and site_realm = '%s' and site_dead = 0",
intval(DIRECTORY_MODE_SECONDARY),
intval(DIRECTORY_MODE_PRIMARY),
dbesc($realm)