aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/New_channel.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-01-14 10:14:44 +0100
committerMario Vavti <mario@mariovavti.com>2019-01-14 10:14:44 +0100
commit65f2d7fd66103923733a93e7c476939d02b5ce28 (patch)
tree289710273a8beb363fce758d7b02052c64718a83 /Zotlabs/Module/New_channel.php
parentf3554804bfe5bf88984bce925470934429567516 (diff)
parente78fd09e07f8c8be082c7c968969ef2c9a685511 (diff)
downloadvolse-hubzilla-65f2d7fd66103923733a93e7c476939d02b5ce28.tar.gz
volse-hubzilla-65f2d7fd66103923733a93e7c476939d02b5ce28.tar.bz2
volse-hubzilla-65f2d7fd66103923733a93e7c476939d02b5ce28.zip
Merge branch 'dev' into core_fixes
Diffstat (limited to 'Zotlabs/Module/New_channel.php')
-rw-r--r--Zotlabs/Module/New_channel.php2
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']))) {