cfmgrv4 init...4
This commit is contained in:
parent
c97d847234
commit
f78bced1c5
@ -85,7 +85,8 @@ class AuditLogService extends CloudflareService
|
||||
log_message("debug", var_export($result->newValueJson, true));
|
||||
$entity = $this->getModel()->getEntityByPK($result->id);
|
||||
if ($entity === null) {
|
||||
$entity = $this->getModel()->create($this->getArrayByResult($result));
|
||||
$formDatas = $this->getArrayByResult($result);
|
||||
$entity = $this->getModel()->modify(new AuditlogEntity(), $formDatas);
|
||||
$this->auditlog_process($entity);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user