正在显示
1 个修改的文件
包含
4 行增加
和
3 行删除
| @@ -385,10 +385,11 @@ class Body { | @@ -385,10 +385,11 @@ class Body { | ||
| 385 | 385 | ||
| 386 | $result[0] = $this->getTag($item['body'],'Content-ID:'); | 386 | $result[0] = $this->getTag($item['body'],'Content-ID:'); |
| 387 | if (!empty($result[0])){ | 387 | if (!empty($result[0])){ |
| 388 | - $data['content-id'] = explode('<',$result[0]); | 388 | + $data['content-id'] = explode(' ',trim($result[0])); |
| 389 | $data['content-id'] = $data['content-id'][1]; | 389 | $data['content-id'] = $data['content-id'][1]; |
| 390 | - $data['content-id'] = trim($data['content-id']); | ||
| 391 | - $data['content-id'] = trim($data['content-id'],'>'); | 390 | + $data['content-id'] = @trim($data['content-id']); |
| 391 | + $data['content-id'] = @trim($data['content-id'],'>'); | ||
| 392 | + $data['content-id'] = @trim($data['content-id'],'<'); | ||
| 392 | 393 | ||
| 393 | $item['body'] = str_replace($result[0],'',$item['body']); | 394 | $item['body'] = str_replace($result[0],'',$item['body']); |
| 394 | } | 395 | } |
-
请 注册 或 登录 后发表评论