* Fix bug #17640.
This commit is contained in:
@@ -593,6 +593,7 @@ class gitlab
|
||||
public function getCommittedDate($sha)
|
||||
{
|
||||
if(!scm::checkRevision($sha)) return null;
|
||||
if(!$sha or $sha == 'HEAD') return date('c');
|
||||
|
||||
global $dao;
|
||||
$time = $dao->select('time')->from(TABLE_REPOHISTORY)->where('revision')->eq($sha)->fetch('time');
|
||||
|
||||
Reference in New Issue
Block a user