* Code for code error.

This commit is contained in:
孙广明
2022-07-20 13:49:10 +08:00
parent c5529b23ee
commit e8cedee6bb
+1 -1
View File
@@ -1691,7 +1691,7 @@ class treeModel extends model
$this->dao->update(TABLE_MODULE)->data($data)->autoCheck()->where('id')->eq($moduleID)->limit(1)->exec();
$newModule = $this->getByID($moduleID);
if(!empty(common::createChanges($oldModule, $newModule)))
if(common::createChanges($oldModule, $newModule))
{
$editIdList[] = $moduleID;
$moduleChanges[$moduleID] = common::createChanges($oldModule, $newModule);