aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-18 16:29:09 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-18 16:29:09 -0700
commit9b3662e5adc58172c6923c1879b226bc208e9ec4 (patch)
tree19d815653609389a7e8efbe05d49d5e42854816b
parent3fb690a0f67818d8573dd2d5d4cbb69f6e78e7c4 (diff)
downloadvolse-hubzilla-9b3662e5adc58172c6923c1879b226bc208e9ec4.tar.gz
volse-hubzilla-9b3662e5adc58172c6923c1879b226bc208e9ec4.tar.bz2
volse-hubzilla-9b3662e5adc58172c6923c1879b226bc208e9ec4.zip
issues with "the Register" feed
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
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