mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-04 23:44:33 +02:00
Fixed exception in system log.
This commit is contained in:
parent
46772c4ef3
commit
8a7b90d0ea
5 changed files with 8 additions and 36 deletions
|
@ -110,7 +110,7 @@ class LogEntryExtraFormatter
|
|||
return sprintf(
|
||||
'<i>%s</i>: %s',
|
||||
$this->translator->trans('log.element_deleted.old_name'),
|
||||
$context->getOldName()
|
||||
$context->getOldName() ?? $this->translator->trans('log.element_deleted.old_name.unknown')
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue