* Modify blame get error.

This commit is contained in:
caoyanyi
2022-12-16 13:36:23 +08:00
parent 1c3537c8c6
commit 59801bf729
+1 -1
View File
@@ -257,7 +257,7 @@ class gitlab
$param = new stdclass;
$param->ref = ($revision and $revision != 'HEAD') ? $revision : $this->branch;
$results = $this->fetch($api, $param);
if(isset($results->message)) return array();
if(empty($results) or isset($results->message)) return array();
$blames = array();
$revLine = 0;