From 99bce46b323e6cbc4f858280cd37aa2ed5506e7d Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 23 Jan 2022 15:08:13 +0000 Subject: fix doc --- Zotlabs/Module/Permcats.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zotlabs/Module/Permcats.php') diff --git a/Zotlabs/Module/Permcats.php b/Zotlabs/Module/Permcats.php index 540d7627d..d42e45beb 100644 --- a/Zotlabs/Module/Permcats.php +++ b/Zotlabs/Module/Permcats.php @@ -129,8 +129,8 @@ class Permcats extends Controller { } if (!$contacts && array_diff_assoc($existing_raw_perms, Permissions::FilledPerms($pcarr))) { - // If we don't haver yet anyone to assign the role to and an existing role has changed, - // we will re-assign the changed role to all its members. + // If we don't have anyone to assign the role to and an existing role has changed, + // we will re-assign the changed role to all its members if there are any. $r = q("SELECT abook_xchan FROM abook WHERE abook_channel = %d AND abook_role = '%s' AND abook_self = 0 AND abook_pending = 0", intval(local_channel()), -- cgit v1.2.3