From 28fb2f6bdf30204fbbc23f3128587495c0a572bc Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Tue, 14 Nov 2023 10:53:46 +0800 Subject: [PATCH] - Remove empty repo for job. --- module/job/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/job/control.php b/module/job/control.php index fd9cd73eb2..4d6b698db8 100644 --- a/module/job/control.php +++ b/module/job/control.php @@ -150,8 +150,8 @@ class job extends control $this->loadModel('ci'); $this->app->loadLang('action'); $repoList = $this->loadModel('repo')->getList($this->projectID, false); - $repoPairs = array(0 => ''); - $gitlabRepos = array(0 => ''); + $repoPairs = array(); + $gitlabRepos = array(); $repoTypes = array(); $gitlabs = array();