From ca5624db5632d358f5e3f92ab7b6b6e144b715a0 Mon Sep 17 00:00:00 2001 From: sgm0422 <976204163@qq.com> Date: Thu, 10 Mar 2022 14:16:48 +0800 Subject: [PATCH] * Fix upgrade error. --- module/upgrade/control.php | 2 +- module/upgrade/view/afterexec.html.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/module/upgrade/control.php b/module/upgrade/control.php index bcada683c5..30ac76ae51 100644 --- a/module/upgrade/control.php +++ b/module/upgrade/control.php @@ -721,7 +721,7 @@ class upgrade extends control $this->view->title = $this->lang->upgrade->result; $this->view->position[] = $this->lang->upgrade->common; - $needProcess = $this->upgrade->checkProcess($fromVersion); + $needProcess = $this->upgrade->checkProcess(); $this->view->needProcess = $needProcess; $this->view->fromVersion = $fromVersion; $this->display(); diff --git a/module/upgrade/view/afterexec.html.php b/module/upgrade/view/afterexec.html.php index 9da0422326..605f2262ef 100644 --- a/module/upgrade/view/afterexec.html.php +++ b/module/upgrade/view/afterexec.html.php @@ -46,6 +46,11 @@