aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/New_channel.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-12-09 19:20:57 +0000
committerMario <mario@mariovavti.com>2018-12-14 11:29:33 +0100
commitf20a923dd7b1669ca27a798b30e9ae797bda1dea (patch)
tree08185bdda5192552e021630be9e96ec0792f02d5 /Zotlabs/Module/New_channel.php
parent30403da3262ef38db302cf2519cfb60b6986f4be (diff)
downloadvolse-hubzilla-f20a923dd7b1669ca27a798b30e9ae797bda1dea.tar.gz
volse-hubzilla-f20a923dd7b1669ca27a798b30e9ae797bda1dea.tar.bz2
volse-hubzilla-f20a923dd7b1669ca27a798b30e9ae797bda1dea.zip
total_identities restriction off by one
(cherry picked from commit e60fb175242516382d1e1a61fce327c38515f3ee)
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 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;
}
}