Merge branch 'sgm_upgrade' into 'sprint/185'

* Fix bug.

See merge request easycorp/zentaopms!1943
This commit is contained in:
李玉春
2022-02-24 05:10:31 +00:00
+3 -3
View File
@@ -418,11 +418,11 @@ class upgradeModel extends model
set_time_limit(0);
$this->updateActivatedDate();
if(is_numeric($fromVersion[0] == 'm')) break;
if($fromVersion[0] == 'm') break;
$this->execSQL($this->getUpgradeFile('maxinstall'));
$this->execSQL($this->getUpgradeFile('functions'));
if(is_numeric($fromVersion[0] == 'b')) break;
if($fromVersion[0] == 'b') break;
$this->execSQL($this->getUpgradeFile('bizinstall'));
if(!empty($this->config->isINT))
{
@@ -430,7 +430,7 @@ class upgradeModel extends model
$this->execSQL($xuanxuanSql);
}
if(is_numeric($fromVersion[0] == 'p')) break;
if($fromVersion[0] == 'p') break;
$this->execSQL($this->getUpgradeFile('proinstall'));
break;
}