This commit is contained in:
zhouxin
2021-12-15 09:08:23 +00:00
parent 387466f7f0
commit f1079a528a
+1 -1
View File
@@ -294,7 +294,7 @@ class design extends control
$end = $end ? date('Y-m-d', strtotime($end)) : helper::today();
/* Get the repository information through the repoID. */
$repos = $this->loadModel('repo')->getRepoPairs($design->project);
$repos = $this->loadModel('repo')->getRepoPairs('project', $design->project);
$repoID = $repoID ? $repoID : key($repos);
if(empty($repoID)) die(js::locate(helper::createLink('repo', 'create', "objectID=$design->project")));