From 9e9dcf653dc29c42f90813ca2df4e6f288e7eecc Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 2 Dec 2021 15:40:45 +0800 Subject: [PATCH] * Modify the code issue. --- module/product/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/model.php b/module/product/model.php index 0babe561fe..535c652d4e 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -1240,7 +1240,7 @@ class productModel extends model $executionPairs = $executionPairs + $execution->children; continue; } - if($this->config->systemMode == 'new') if(isset($projectPairs[$execution->project])) $executionPairs[$execution->id] = $projectPairs[$execution->project] . '/' . $execution->name; + if($this->config->systemMode == 'new' and isset($projectPairs[$execution->project])) $executionPairs[$execution->id] = $projectPairs[$execution->project] . '/' . $execution->name; if($this->config->systemMode == 'classic') $executionPairs[$execution->id] = $execution->name; }