diff --git a/module/repo/model.php b/module/repo/model.php index 1580e3739d..9e7574c31b 100644 --- a/module/repo/model.php +++ b/module/repo/model.php @@ -1763,11 +1763,11 @@ class repoModel extends model { $gitlab = $this->loadModel('gitlab')->getByID($repo->client); // $repo->client is gitlabID if(!$gitlab) return $repo; - $repo->gitlab = $gitlab->id; - $repo->project = $repo->path; // projectID in gitlab - $repo->path = sprintf($this->config->repo->gitlab->apiPath, $gitlab->url, $repo->path); - $repo->client = $gitlab->url; - $repo->password = $gitlab->token; + $repo->gitlab = $gitlab->id; + $repo->project = $repo->path; // projectID in gitlab + $repo->path = sprintf($this->config->repo->gitlab->apiPath, $gitlab->url, $repo->path); + $repo->client = $gitlab->url; + $repo->password = $gitlab->token; return $repo; } }