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;?> 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');?>
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); } 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 = '';