From bd01024183ae3fb6ed2641446737e8a2a1326690 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 3 Jul 2024 16:23:51 +0800 Subject: [PATCH] * Fix bug #52063. --- module/story/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/story/model.php b/module/story/model.php index cf0ee86d8f..97af381efa 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -3997,6 +3997,8 @@ class storyModel extends model */ public function getMergeTrackCells(array $tracks, array $showCols): array { + if(empty($tracks)) return array(); + $storyCols = array(); foreach($showCols as $colType) {