* Fix bug#36175

This commit is contained in:
zenggang
2023-08-29 08:49:44 +00:00
parent dfb442f8c1
commit aa5af86036
2 changed files with 9 additions and 4 deletions
+2 -1
View File
@@ -2971,7 +2971,8 @@ class gitlabModel extends model
$project = $this->apiGetSingleProject($gitlabID, $projectID);
if(is_object($project) and !empty($project->web_url))
{
return $this->dao->update(TABLE_REPO)->set('path')->eq($project->web_url)->where('id')->eq($repoID)->exec();
$this->dao->update(TABLE_REPO)->set('path')->eq($project->web_url)->where('id')->eq($repoID)->exec();
return true;
}
return false;