diff options
author | zotlabs <mike@macgirvin.com> | 2018-02-13 12:13:37 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-02-13 12:13:37 -0800 |
commit | 6ca3442ba381a3c5b98cd04f4f9e87e48c55b072 (patch) | |
tree | 3a173d02671d61e9e42b7d2f892ca73c55cfd514 /Zotlabs/Module | |
parent | b7fb78245aca724248cc721134a360276a9f6d9c (diff) | |
download | volse-hubzilla-6ca3442ba381a3c5b98cd04f4f9e87e48c55b072.tar.gz volse-hubzilla-6ca3442ba381a3c5b98cd04f4f9e87e48c55b072.tar.bz2 volse-hubzilla-6ca3442ba381a3c5b98cd04f4f9e87e48c55b072.zip |
defperms: bad query
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Defperms.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Defperms.php b/Zotlabs/Module/Defperms.php index 422333a50..97d9cfd1d 100644 --- a/Zotlabs/Module/Defperms.php +++ b/Zotlabs/Module/Defperms.php @@ -22,7 +22,7 @@ class Defperms extends \Zotlabs\Web\Controller { $r = q("SELECT abook.*, xchan.* FROM abook left join xchan on abook_xchan = xchan_hash - WHERE abook_self = 1 and abook_id = %d LIMIT 1", + WHERE abook_self = 1 and abook_channel = %d LIMIT 1", intval(local_channel()) ); if($r) { |