total_identities restriction off by one
This commit is contained in:
parent
8ab1f31058
commit
e60fb17524
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user