issues with "the Register" feed
This commit is contained in:
parent
3fb690a0f6
commit
9b3662e5ad
@ -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
|
$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");
|
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)
|
if(! $chans)
|
||||||
$chans = $xchans;
|
$chans = $xchans;
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user