diff options
author | zotlabs <mike@macgirvin.com> | 2017-11-02 17:31:49 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-11-02 17:31:49 -0700 |
commit | 0403738981487b7edec20b11a85849254366a202 (patch) | |
tree | 7e713b118be1d581cd4bb2c59d8b23d4b20943ea /include/text.php | |
parent | f23c8e7597b6d96639738d0180e8cb277682ce23 (diff) | |
parent | 8f59b2d3e03b579d62efce9067acbcd32c5ac2b5 (diff) | |
download | volse-hubzilla-0403738981487b7edec20b11a85849254366a202.tar.gz volse-hubzilla-0403738981487b7edec20b11a85849254366a202.tar.bz2 volse-hubzilla-0403738981487b7edec20b11a85849254366a202.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index d81b59d75..746c35679 100644 --- a/include/text.php +++ b/include/text.php @@ -2160,7 +2160,7 @@ function xchan_mail_query(&$item) { if(count($arr)) { $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 (" . protect_sprintf(implode(',', $arr)) . ") and hubloc_primary = 1"); } if($chans) { $item['from'] = find_xchan_in_array($item['from_xchan'],$chans); |