From 95b7f73452067d6dffae078571f6bc75972657bb Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 29 Aug 2022 13:20:05 +0800 Subject: [PATCH 1/4] * Fix bug#26991. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index d1aff79680..f0d5da165f 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1464,7 +1464,7 @@ class executionModel extends model */ public function getStatData($projectID = 0, $browseType = 'undone', $productID = 0, $branch = 0, $withTasks = false, $param = '', $orderBy = 'id_asc', $pager = null) { - if($projectID) return array(); + if(empty($projectID)) return array(); /* Construct the query SQL at search executions. */ $executionQuery = ''; From c3ba9e70ae58ebba37166067f94ec422b272ce1e Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 29 Aug 2022 13:26:11 +0800 Subject: [PATCH 2/4] * Fix bug#26897. --- module/bug/view/view.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/view/view.html.php b/module/bug/view/view.html.php index 02a731de39..9be88c271a 100644 --- a/module/bug/view/view.html.php +++ b/module/bug/view/view.html.php @@ -264,7 +264,7 @@ bug->mailto;?> mailto)) + if(!empty($bug->mailto)) { foreach(explode(',', str_replace(' ', '', $bug->mailto)) as $account) echo ' ' . zget($users, $account); } From fe9228b394c22bca3f7e552dfd1483a94e18dbd9 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 29 Aug 2022 13:26:58 +0800 Subject: [PATCH 3/4] * Fix bug#26897. --- module/bug/view/edit.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/view/edit.html.php b/module/bug/view/edit.html.php index 23aaf191cf..d2462c3443 100644 --- a/module/bug/view/edit.html.php +++ b/module/bug/view/edit.html.php @@ -191,7 +191,7 @@ if($this->app->tab == 'project') js::set('objectID', $bug->project); bug->mailto;?>
- mailto), 'class="form-control picker-select" multiple');?> + mailto, 'class="form-control picker-select" multiple');?> fetch('my', 'buildContactLists');?>
From 97369a949c9d47180dca2d7fa93c6c51f86b36e4 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 29 Aug 2022 13:31:54 +0800 Subject: [PATCH 4/4] * Fix bug#26897. --- module/bug/view/confirmbug.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/view/confirmbug.html.php b/module/bug/view/confirmbug.html.php index 9320eb9e9e..7de54b4cd1 100755 --- a/module/bug/view/confirmbug.html.php +++ b/module/bug/view/confirmbug.html.php @@ -53,7 +53,7 @@ js::set('page', 'confirmbug'); printExtendFields($bug, 'table');?> bug->mailto;?> - mailto), 'class="form-control picker-select" multiple');?> + mailto, 'class="form-control picker-select" multiple');?> comment;?>