Fixed exception in system log.

This commit is contained in:
Jan Böhmer 2020-02-06 14:03:25 +01:00
parent 46772c4ef3
commit 8a7b90d0ea
5 changed files with 8 additions and 36 deletions

View file

@ -61,8 +61,8 @@ class ElementDeletedLogEntry extends AbstractLogEntry
return $this;
}
public function getOldName(): string
public function getOldName(): ?string
{
return $this->extra['n'];
return $this->extra['n'] ?? null;
}
}