* Fix the problem of calling config error in static method.

This commit is contained in:
tianshujie
2022-02-25 09:12:19 +08:00
parent a6b304473e
commit ecf679aeaf
+1 -1
View File
@@ -1780,7 +1780,7 @@ EOD;
* 当主状态改变并且未设置子状态的值时把子状态的值设置为默认值并记录日志。
* Change sub status when status is changed and sub status is not set, and record the changes.
*/
if($this->config->edition != 'open')
if($config->edition != 'open')
{
$oldID = zget($old, 'id', '');
$oldStatus = zget($old, 'status', '');