作者 邓超

x

... ... @@ -229,7 +229,9 @@ class Body {
// 附件情况
if(!empty($boundary[1])){
preg_match_all('/.*'.$boundary[1].'.*/i',$body,$boundary_tag);
$body = str_replace($boundary_tag[0],'{--tag--}',$body);
if(!empty($boundary_tag[0])){
$body = str_replace($boundary_tag[0],'{--tag--}',$body);
}
}
// 查找tag块
preg_match_all("/((".str_replace(
... ...