diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-02 08:44:46 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2017-11-02 08:50:16 +0100 |
commit | cf5beafcfd6287abaacadc2ae2f6ac196c4a7adc (patch) | |
tree | 1d01ab6520b60370fa7c923801bb33f444d907af /include/text.php | |
parent | 12f33d2cd43502fb8ce7b3399a4c60e40c10f723 (diff) | |
download | volse-hubzilla-cf5beafcfd6287abaacadc2ae2f6ac196c4a7adc.tar.gz volse-hubzilla-cf5beafcfd6287abaacadc2ae2f6ac196c4a7adc.tar.bz2 volse-hubzilla-cf5beafcfd6287abaacadc2ae2f6ac196c4a7adc.zip |
fix issues with diaspora xchans
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); |