dever 3 年之前
父节点
当前提交
9057df1d88
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/collection/lib/Content.php

+ 3 - 0
app/collection/lib/Content.php

@@ -156,6 +156,9 @@ class Content
             foreach ($data['text'] as $k => $v) {
                 if (isset($v['name']) && $v['name']) {
                     $data['text'][$k]['name_array'] = explode("\r\n", $v['name']);
+                } else {
+                    unset($data['text'][$k]);
+                    continue;
                 }
 
                 if (isset($v['bgcolor_type']) && $v['bgcolor_type'][0] == 2) {