From 8a1f3a94151cac2c26a241b95cbcf1945cf2f2ee Mon Sep 17 00:00:00 2001 From: chaideqing Date: Thu, 4 Jan 2024 11:03:27 +0800 Subject: [PATCH] * Fix bug for used undefined variable. --- module/execution/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index 10ddc144b7..05bece1541 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -3542,7 +3542,7 @@ class execution extends control } else { - $status = $storyType == 'story' ? 'active' : ($model == 'ipd' ? 'launched' : 'active,launched'); + $status = $storyType == 'story' ? 'active' : ($object->model == 'ipd' ? 'launched' : 'active,launched'); $allStories = $this->story->getProductStories(array_keys($products), $branchIDList, $moduleID = '0', $status, $storyType, 'id_desc', $hasParent = false, '', $pager = null); }