正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -229,8 +229,10 @@ class Body { | @@ -229,8 +229,10 @@ class Body { | ||
| 229 | // 附件情况 | 229 | // 附件情况 |
| 230 | if(!empty($boundary[1])){ | 230 | if(!empty($boundary[1])){ |
| 231 | preg_match_all('/.*'.$boundary[1].'.*/i',$body,$boundary_tag); | 231 | preg_match_all('/.*'.$boundary[1].'.*/i',$body,$boundary_tag); |
| 232 | + if(!empty($boundary_tag[0])){ | ||
| 232 | $body = str_replace($boundary_tag[0],'{--tag--}',$body); | 233 | $body = str_replace($boundary_tag[0],'{--tag--}',$body); |
| 233 | } | 234 | } |
| 235 | + } | ||
| 234 | // 查找tag块 | 236 | // 查找tag块 |
| 235 | preg_match_all("/((".str_replace( | 237 | preg_match_all("/((".str_replace( |
| 236 | ['/','+','.','^','$','*','?','|'], | 238 | ['/','+','.','^','$','*','?','|'], |
-
请 注册 或 登录 后发表评论