* Fix upgrade method.

This commit is contained in:
sgm0422
2020-07-03 13:45:04 +08:00
parent ec7511df35
commit 394e263c87
+1 -1
View File
@@ -141,7 +141,7 @@ class upgrade extends control
if(!$this->upgrade->isError())
{
if(version_compare(str_replace('_', '.', $fromVersion), '15', '<')) $this->locate(inlink('mergeProgram'));
if(version_compare(str_replace('_', '.', $fromVersion), '15', '<') && !isset($this->config->qcVersion)) $this->locate(inlink('mergeProgram'));
$this->locate(inlink('afterExec', "fromVersion=$fromVersion"));
}