Compare commits

..

3 Commits

Author SHA1 Message Date
9681e08855
fix pipeline
All checks were successful
soko-web/pipeline/pr-master This commit looks good
2023-04-17 21:41:06 +02:00
a1e05da920
add/modify template for audit logger
Some checks failed
soko-web/pipeline/pr-master There was a failure building this commit
2023-04-17 21:41:06 +02:00
64d7972cec
implement audit logger 2023-04-17 21:41:06 +02:00

View File

@ -135,9 +135,11 @@ class Modify
private function update(): void private function update(): void
{ {
$this->generateDiff(); if ($this->auditLogger !== null) {
if (count($this->diff) === 0) { $this->generateDiff();
return; if (count($this->diff) === 0) {
return;
}
} }
$attributes = $this->attributes; $attributes = $this->attributes;