* Fix bug.

This commit is contained in:
leiyong
2021-02-25 13:36:14 +08:00
parent 4911a4c16f
commit dc8b6b1e4c
+1 -1
View File
@@ -963,7 +963,7 @@ class productModel extends model
*/
public function getExecutionPairsByProduct($productID, $branch = 0, $orderBy = 'id_asc', $projectID = 0)
{
if($productID) return array();
if(empty($productID)) return array();
if(empty($projectID)) return $this->getAllExecutionPairsByProduct($productID, $branch);
$project = $this->loadModel('program')->getPRJByID($projectID);