* fix bug.

This commit is contained in:
wangyidong
2022-08-08 16:09:32 +08:00
parent 024c2352ee
commit 9136083b10
+1 -1
View File
@@ -1228,7 +1228,7 @@ class upgradeModel extends model
public function getOpenVersion($version)
{
$edition = $this->getEditionByVersion($version);
return is_numeric($version[0]) ? $version : zget($this->config->upgrade{$edition . 'Version'}, $version);
return is_numeric($version[0]) ? $version : zget($this->config->upgrade->{$edition . 'Version'}, $version);
}
/**