diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-09-19 13:35:36 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-09-19 13:35:36 +0200 |
commit | 8d0a0674c64148ef77da03851451dfc90fc771a9 (patch) | |
tree | 471b11901b11aa9b56e5b1ec4d170791b2a8b42a /Zotlabs/Module/Acl.php | |
parent | 2863c35ab51fdba9483b4dfb9610045e358a3398 (diff) | |
download | volse-hubzilla-8d0a0674c64148ef77da03851451dfc90fc771a9.tar.gz volse-hubzilla-8d0a0674c64148ef77da03851451dfc90fc771a9.tar.bz2 volse-hubzilla-8d0a0674c64148ef77da03851451dfc90fc771a9.zip |
fix issue #517
Diffstat (limited to 'Zotlabs/Module/Acl.php')
-rw-r--r-- | Zotlabs/Module/Acl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Acl.php b/Zotlabs/Module/Acl.php index 8c62f4de9..1acd8e320 100644 --- a/Zotlabs/Module/Acl.php +++ b/Zotlabs/Module/Acl.php @@ -66,7 +66,7 @@ class Acl extends \Zotlabs\Web\Controller { // These queries require permission checking. We'll create a simple array of xchan_hash for those with // the requisite permissions which we can check against. - $x = q("select xchan from abconfig where chan = %d and cat = 'their_perms' and k = '%s' and v = 1", + $x = q("select xchan from abconfig where chan = %d and cat = 'their_perms' and k = '%s' and v = '1'", intval(local_channel()), dbesc(($type === 'm') ? 'post_mail' : 'tag_deliver') ); |