|
@@ -165,6 +165,9 @@ class Home extends Base { |
|
@@ -165,6 +165,9 @@ class Home extends Base { |
165
|
// map
|
165
|
// map
|
166
|
$lists = array_map(function ($v){
|
166
|
$lists = array_map(function ($v){
|
167
|
$v['uuid'] = get_email_uuid($v['subject'],$v['udate'],$v['from'],$v['to'],$v['size']);
|
167
|
$v['uuid'] = get_email_uuid($v['subject'],$v['udate'],$v['from'],$v['to'],$v['size']);
|
|
|
168
|
+ if(!empty($v['description'])){
|
|
|
169
|
+ $v['description'] = @html_entity_decode($v['description'], ENT_COMPAT, 'UTF-8');
|
|
|
170
|
+ }
|
168
|
return $v;
|
171
|
return $v;
|
169
|
},$lists);
|
172
|
},$lists);
|
170
|
|
173
|
|
|
@@ -636,6 +639,8 @@ class Home extends Base { |
|
@@ -636,6 +639,8 @@ class Home extends Base { |
636
|
|
639
|
|
637
|
$data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['from'],$data['to'],$data['size']);
|
640
|
$data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['from'],$data['to'],$data['size']);
|
638
|
|
641
|
|
|
|
642
|
+ $data['description'] = @html_entity_decode($data['description']??'', ENT_COMPAT, 'UTF-8');
|
|
|
643
|
+
|
639
|
$data['to_name'] = $data['to_name'] ? json_decode($data['to_name'],true) : [];
|
644
|
$data['to_name'] = $data['to_name'] ? json_decode($data['to_name'],true) : [];
|
640
|
$data['cc'] = $data['cc'] ? json_decode($data['cc'],true) : [];
|
645
|
$data['cc'] = $data['cc'] ? json_decode($data['cc'],true) : [];
|
641
|
$data['bcc'] = $data['bcc'] ? json_decode($data['bcc'],true) : [];
|
646
|
$data['bcc'] = $data['bcc'] ? json_decode($data['bcc'],true) : [];
|