From ea98130180b684ba7aa5f771c01843e49d667269 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 29 Aug 2022 15:35:01 +0800 Subject: [PATCH] * Fix bug#27010. --- module/execution/model.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/execution/model.php b/module/execution/model.php index f0d5da165f..77f71b2a11 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1464,8 +1464,6 @@ class executionModel extends model */ public function getStatData($projectID = 0, $browseType = 'undone', $productID = 0, $branch = 0, $withTasks = false, $param = '', $orderBy = 'id_asc', $pager = null) { - if(empty($projectID)) return array(); - /* Construct the query SQL at search executions. */ $executionQuery = ''; if($browseType == 'bySearch')