Compare commits
3 Commits
23a1511a32
...
9681e08855
Author | SHA1 | Date | |
---|---|---|---|
9681e08855 | |||
a1e05da920 | |||
64d7972cec |
@ -135,10 +135,12 @@ 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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user