mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-04 09:02:49 +08:00
修复更新错误
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user