Merge branch 'master_xieqiyu_27010' into 'master'

* Fix bug#27010.

See merge request easycorp/zentaopms!5185
This commit is contained in:
王怡栋
2022-08-29 08:02:35 +00:00
-2
View File
@@ -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')