fixed a decoding issue

This commit is contained in:
SJ 2012-09-09 23:18:30 +02:00
parent b4854e312a
commit 69fa244dfa

View File

@ -224,7 +224,8 @@ class ModelSearchMessage extends Model {
} }
if($charset && !preg_match("/utf-8/i", $charset)){ if($charset && !preg_match("/utf-8/i", $charset)){
$chunk = iconv($charset, 'utf-8', $chunk); $s = iconv($charset, 'utf-8', $chunk);
if($s) { $chunk = $s; $s = ''; }
} }
if($text_plain == 1){ if($text_plain == 1){