* Fix bug #19853.
This commit is contained in:
@@ -646,7 +646,7 @@ class gitlab
|
||||
|
||||
$param = new stdclass();
|
||||
$param->path = urldecode($path);
|
||||
$param->ref_name = $this->branch;
|
||||
$param->ref_name = $fromRevision ? $fromRevision : $this->branch;
|
||||
|
||||
$fromDate = $this->getCommittedDate($fromRevision);
|
||||
$toDate = $this->getCommittedDate($toRevision);
|
||||
|
||||
@@ -574,6 +574,7 @@ class repo extends control
|
||||
$this->scm->setEngine($repo);
|
||||
$log = $this->scm->log('', $revision, $revision);
|
||||
$log[0]->comment = $this->repo->replaceCommentLink($log[0]->comment);
|
||||
$log[0]->commit = '';
|
||||
|
||||
$history = $this->dao->select('*')->from(TABLE_REPOHISTORY)->where('revision')->eq($log[0]->revision)->andWhere('repo')->eq($repoID)->fetch();
|
||||
if($history)
|
||||
|
||||
Reference in New Issue
Block a user