正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -964,6 +964,9 @@ class Home extends Base { | @@ -964,6 +964,9 @@ class Home extends Base { | ||
964 | $data['description'] = @html_entity_decode($data['description']??'', ENT_COMPAT, 'UTF-8'); | 964 | $data['description'] = @html_entity_decode($data['description']??'', ENT_COMPAT, 'UTF-8'); |
965 | 965 | ||
966 | $data['to_name'] = $data['to_name'] ? json_decode($data['to_name'],true) : []; | 966 | $data['to_name'] = $data['to_name'] ? json_decode($data['to_name'],true) : []; |
967 | + if(!$data['to_name']){ | ||
968 | + $data['to_name'] = ["email"=>$email['email'],'name'=>'']; | ||
969 | + } | ||
967 | $data['cc'] = $data['cc'] ? json_decode($data['cc'],true) : []; | 970 | $data['cc'] = $data['cc'] ? json_decode($data['cc'],true) : []; |
968 | $data['bcc'] = $data['bcc'] ? json_decode($data['bcc'],true) : []; | 971 | $data['bcc'] = $data['bcc'] ? json_decode($data['bcc'],true) : []; |
969 | 972 |
-
请 注册 或 登录 后发表评论