修复更新错误

This commit is contained in:
augushong
2024-10-15 18:09:55 +08:00
parent a92bf7bee3
commit 58ea77bca1

View File

@@ -37,7 +37,7 @@ class AdminUpdateServiceBase
public function __construct($type = 'ulthon_admin')
{
if ($type == 'ulthon_admin') {
if ($type == 'ulthon_admin' || $type == null) {
$this->useRepo = self::REPO;
$this->useVersion = Version::VERSION;
} else {