Compare commits
3 Commits
9681e08855
...
23a1511a32
Author | SHA1 | Date | |
---|---|---|---|
23a1511a32 | |||
61da400599 | |||
e14336f2d8 |
@ -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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user