Daniel Supernault 5 月之前
父节点
当前提交
a05524e834
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Console/Commands/TransformImports.php

+ 1 - 1
app/Console/Commands/TransformImports.php

@@ -103,7 +103,7 @@ class TransformImports extends Command
                 continue;
             }
 
-            $caption = $ip->caption;
+            $caption = $ip->caption ?? "";
             $status = new Status;
             $status->profile_id = $pid;
             $status->caption = $caption;