dever hace 4 años
padre
commit
9057df1d88
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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) {