diff options
author | Andrew Manning <tamanning@zoho.com> | 2018-03-05 20:06:47 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2018-03-05 20:06:47 -0500 |
commit | 9b13db1c4896e6a8b0a55195530f5449999e811d (patch) | |
tree | 0588de154eec12481cd56e448a0a682bb94341aa /Zotlabs/Module/Sitelist.php | |
parent | 058f7277b52bdcdb80dc3e28bf0ec93a573195a7 (diff) | |
parent | c462d2f15eb2d463706403676b00bbd7bd111443 (diff) | |
download | volse-hubzilla-9b13db1c4896e6a8b0a55195530f5449999e811d.tar.gz volse-hubzilla-9b13db1c4896e6a8b0a55195530f5449999e811d.tar.bz2 volse-hubzilla-9b13db1c4896e6a8b0a55195530f5449999e811d.zip |
Merge branch 'dev' into oauth2
Diffstat (limited to 'Zotlabs/Module/Sitelist.php')
-rw-r--r-- | Zotlabs/Module/Sitelist.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Sitelist.php b/Zotlabs/Module/Sitelist.php index e7d4187b7..2ac5ed1b8 100644 --- a/Zotlabs/Module/Sitelist.php +++ b/Zotlabs/Module/Sitelist.php @@ -32,7 +32,7 @@ class Sitelist extends \Zotlabs\Web\Controller { $result = array('success' => false); - $r = q("select count(site_url) as total from site where site_type = %d $sql_extra ", + $r = q("select count(site_url) as total from site where site_type = %d and site_dead = 0 $sql_extra ", intval(SITE_TYPE_ZOT) ); @@ -42,7 +42,7 @@ class Sitelist extends \Zotlabs\Web\Controller { $result['start'] = $start; $result['limit'] = $limit; - $r = q("select * from site where site_type = %d $sql_extra $sql_order $sql_limit", + $r = q("select * from site where site_type = %d and site_dead = 0 $sql_extra $sql_order $sql_limit", intval(SITE_TYPE_ZOT) ); |