From 6f8d2334fdbd1c5c9094277d2c8a3aea1574f871 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Thu, 7 Apr 2022 14:12:57 +0800 Subject: [PATCH] * Fix upgrade vision for litevip. --- module/upgrade/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/upgrade/control.php b/module/upgrade/control.php index e81435c209..fa8d42ae69 100644 --- a/module/upgrade/control.php +++ b/module/upgrade/control.php @@ -92,8 +92,8 @@ class upgrade extends control { if(strpos($key, 'lite') === false) unset($this->lang->upgrade->fromVersions[$key]); } - - $this->config->version = 'Lite' . $this->config->liteVersion; + + $this->config->version = ($this->config->edition == 'biz' ? 'LiteVIP' : 'Lite') . $this->config->liteVersion; } $this->view->title = $this->lang->upgrade->common . $this->lang->colon . $this->lang->upgrade->selectVersion;