From 58ea77bca13d1f7a5f5afbcbff61b074080be9d1 Mon Sep 17 00:00:00 2001 From: augushong Date: Tue, 15 Oct 2024 18:09:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/base/admin/service/AdminUpdateServiceBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/base/admin/service/AdminUpdateServiceBase.php b/extend/base/admin/service/AdminUpdateServiceBase.php index ef21c9f..0057289 100644 --- a/extend/base/admin/service/AdminUpdateServiceBase.php +++ b/extend/base/admin/service/AdminUpdateServiceBase.php @@ -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 {