From 9b3662e5adc58172c6923c1879b226bc208e9ec4 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 18 Oct 2015 16:29:09 -0700 Subject: issues with "the Register" feed --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/text.php b/include/text.php index 9246370ba..25743e872 100644 --- a/include/text.php +++ b/include/text.php @@ -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 -- cgit v1.2.3