* Fix bug 12052.

This commit is contained in:
Guanxiying
2021-04-16 10:07:19 +08:00
parent 78895ace0a
commit c304d9515a
+1 -1
View File
@@ -20,7 +20,7 @@ class gitlab
$this->client = $client;
$this->root = rtrim($root, '/') . '/';
$this->token = $password;
$this->branch = isset($_COOKIE['repoBranch']) ? $_COOKIE['repoBranch'] : '';
$this->branch = isset($_COOKIE['repoBranch']) ? $_COOKIE['repoBranch'] : 'HEAD';
}
/**