diff options
author | zotlabs <mike@macgirvin.com> | 2018-12-09 11:20:57 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-12-09 11:20:57 -0800 |
commit | e60fb175242516382d1e1a61fce327c38515f3ee (patch) | |
tree | 2d6e466d6d0c1bb4c82e53981abe0cba7228a495 /Zotlabs/Module/New_channel.php | |
parent | 8ab1f3105874b3167515de9a41c3bf3f3fe5a9d8 (diff) | |
download | volse-hubzilla-e60fb175242516382d1e1a61fce327c38515f3ee.tar.gz volse-hubzilla-e60fb175242516382d1e1a61fce327c38515f3ee.tar.bz2 volse-hubzilla-e60fb175242516382d1e1a61fce327c38515f3ee.zip |
total_identities restriction off by one
Diffstat (limited to 'Zotlabs/Module/New_channel.php')
-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 a9022a03a..73cdf4c8c 100644 --- a/Zotlabs/Module/New_channel.php +++ b/Zotlabs/Module/New_channel.php @@ -145,7 +145,7 @@ class New_channel extends \Zotlabs\Web\Controller { $canadd = true; if($r && ($limit !== false)) { $channel_usage_message = sprintf( t("You have created %1$.0f of %2$.0f allowed channels."), $r[0]['total'], $limit); - if ($r[0]['total'] >= $limit) { + if ($r[0]['total'] > $limit) { $canadd = false; } } |