* Adjust code.

This commit is contained in:
caoyanyi
2022-03-16 15:50:22 +08:00
parent 4c0d583520
commit 5d45880fde
+1 -1
View File
@@ -1981,7 +1981,7 @@ class repoModel extends model
*/
public function getExecutionPairs($product, $branch = 0)
{
$pairs = array();
$pairs = array();
$executions = $this->loadModel('execution')->getList(0, 'all', 'undone', 0, $product, $branch);
foreach($executions as $execution) $pairs[$execution->id] = $execution->name;
return $pairs;