* Fix bug.

This commit is contained in:
tianshujie98
2021-03-04 08:43:07 +08:00
parent 839cd7903e
commit 3bf7dd4c6f
+1 -1
View File
@@ -164,7 +164,7 @@ class upgrade extends control
$mode = fixer::input('post')->get('mode');
$this->loadModel('setting')->setItem('system.common.global.mode', $mode);
if($mode == 'old') $this->locate(inlink('afterExec', "fromVersion=$fromVersion"));
if($mode == 'classic') $this->locate(inlink('afterExec', "fromVersion=$fromVersion"));
if($mode == 'new') $this->locate(inlink('mergeTips'));
}