正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -81,7 +81,8 @@ class Body { | @@ -81,7 +81,8 @@ class Body { | ||
| 81 | return; | 81 | return; |
| 82 | } | 82 | } |
| 83 | // 第一个块和最后一块 是没用的块 | 83 | // 第一个块和最后一块 是没用的块 |
| 84 | - array_shift($items);array_pop($items); | 84 | + array_shift($items); |
| 85 | + if(count($items) > 2) array_pop($items); | ||
| 85 | foreach ($items as $item){ | 86 | foreach ($items as $item){ |
| 86 | $this->parseItem($item); | 87 | $this->parseItem($item); |
| 87 | } | 88 | } |
-
请 注册 或 登录 后发表评论