fix comment permissions on display (again) and clean up an error seen in the logs

This commit is contained in:
friendica
2013-03-06 18:52:42 -08:00
parent 5a9dae78a2
commit 3d299f066e
2 changed files with 9 additions and 2 deletions

View File

@@ -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) {