Compare commits

..

3 Commits

Author SHA1 Message Date
23a1511a32
fix pipeline
All checks were successful
soko-web/pipeline/pr-master This commit looks good
2023-04-17 21:27:39 +02:00
61da400599
add/modify template for audit logger
Some checks failed
soko-web/pipeline/pr-master There was a failure building this commit
2023-04-17 20:59:20 +02:00
e14336f2d8
implement audit logger 2023-04-17 20:59:20 +02:00

View File

@ -135,12 +135,10 @@ class Modify
private function update(): void private function update(): void
{ {
if ($this->auditLogger !== null) {
$this->generateDiff(); $this->generateDiff();
if (count($this->diff) === 0) { if (count($this->diff) === 0) {
return; return;
} }
}
$attributes = $this->attributes; $attributes = $this->attributes;
unset($attributes[$this->idName]); unset($attributes[$this->idName]);