* Fix bug#26991.

This commit is contained in:
xieqiyu
2022-08-29 13:20:05 +08:00
parent 0fc0a2684e
commit 95b7f73452
+1 -1
View File
@@ -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 = '';