diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-01-10 13:35:27 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-01-10 13:35:27 +0100 |
commit | 01f4ce96f1fe835db774acffb65b2553e1b44c0a (patch) | |
tree | 3f5cac9c7f572315df2ededccf4232f8e068e962 /Zotlabs/Module | |
parent | b22caef65fe2d87d702592bd0ecb057d21c168dd (diff) | |
download | volse-hubzilla-01f4ce96f1fe835db774acffb65b2553e1b44c0a.tar.gz volse-hubzilla-01f4ce96f1fe835db774acffb65b2553e1b44c0a.tar.bz2 volse-hubzilla-01f4ce96f1fe835db774acffb65b2553e1b44c0a.zip |
do not count removed channels
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/New_channel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/New_channel.php b/Zotlabs/Module/New_channel.php index 73cdf4c8c..98aa480fe 100644 --- a/Zotlabs/Module/New_channel.php +++ b/Zotlabs/Module/New_channel.php @@ -134,7 +134,7 @@ class New_channel extends \Zotlabs\Web\Controller { $default_role = ''; $aid = get_account_id(); if($aid) { - $r = q("select count(channel_id) as total from channel where channel_account_id = %d", + $r = q("select count(channel_id) as total from channel where channel_account_id = %d and channel_removed = 0", intval($aid) ); if($r && (! intval($r[0]['total']))) { |