From 3d299f066eafbba2a9f5b3f2fd369492a271b27d Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 6 Mar 2013 18:52:42 -0800 Subject: fix comment permissions on display (again) and clean up an error seen in the logs --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index 7be46434a..1cf34170e 100644 --- a/include/zot.php +++ b/include/zot.php @@ -832,7 +832,7 @@ function allowed_public_recips($msg) { $condensed_recips[] = $rr['hash']; $results = array(); - $r = q("select channel_hash as hash from channel left join abook on abook_channel = channel_id where abook_hash = '%s' ", + $r = q("select channel_hash as hash from channel left join abook on abook_channel = channel_id where abook_xchan = '%s' ", dbesc($hash) ); if($r) { -- cgit v1.2.3