issues with "the Register" feed

This commit is contained in:
redmatrix 2015-10-18 16:29:09 -07:00
parent 3fb690a0f6
commit 9b3662e5ad

View File

@ -1975,7 +1975,7 @@ function xchan_query(&$items,$abook = true,$effective_uid = 0) {
$chans = q("select xchan.*,hubloc.* from xchan left join hubloc on hubloc_hash = xchan_hash
where xchan_hash in (" . implode(',', $arr) . ") and hubloc_primary = 1");
}
$xchans = q("select * from xchan where xchan_hash in (" . implode(',',$arr) . ") and xchan_network in ('rss','unknown')");
$xchans = q("select * from xchan where xchan_hash in (" . protect_sprintf(implode(',',$arr)) . ") and xchan_network in ('rss','unknown')");
if(! $chans)
$chans = $xchans;
else