This commit is contained in:
liumengyi
2022-06-07 10:35:13 +08:00
parent cf20ee9361
commit 6e4ac95a48

View File

@@ -295,6 +295,8 @@ class taskModel extends model
if($storyID == 'ditto') $storyID = $preStory;
$preStory = $storyID;
if(!isset($tasks->story[$key - 1]) and $key > 1 and !empty($tasks->name[$key - 1])) $taskNames[] = $tasks->name[$key - 1];
$inNames = in_array($tasks->name[$key], $taskNames);
if(!$inNames || ($inNames && !in_array($storyID, $storyIDs)))
{