aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-23 15:08:13 +0000
committerMario <mario@mariovavti.com>2022-01-23 15:08:13 +0000
commit99bce46b323e6cbc4f858280cd37aa2ed5506e7d (patch)
treef2a99da8dcf820f0b2e536c6de3feaf4c071a85f /Zotlabs/Module
parentf711913778b15f795b273e7eb228fbb17bc74fb3 (diff)
downloadvolse-hubzilla-99bce46b323e6cbc4f858280cd37aa2ed5506e7d.tar.gz
volse-hubzilla-99bce46b323e6cbc4f858280cd37aa2ed5506e7d.tar.bz2
volse-hubzilla-99bce46b323e6cbc4f858280cd37aa2ed5506e7d.zip
fix doc
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Permcats.php4
1 files changed, 2 insertions, 2 deletions
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()),