diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-02-14 10:29:36 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-02-14 10:29:36 +0100 |
commit | 033608292007a726b6fdffe839f6e481939f7a1d (patch) | |
tree | c52832c098233d9795a74b0d24af097af0d2a494 /Zotlabs/Module/Defperms.php | |
parent | 27baf46eb576002511f188268574aaff9ad16a6b (diff) | |
parent | 24da5d82db8316a54ccb41616e0e2acb5d73fc84 (diff) | |
download | volse-hubzilla-033608292007a726b6fdffe839f6e481939f7a1d.tar.gz volse-hubzilla-033608292007a726b6fdffe839f6e481939f7a1d.tar.bz2 volse-hubzilla-033608292007a726b6fdffe839f6e481939f7a1d.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'Zotlabs/Module/Defperms.php')
-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) { |