mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Fixed item export with deleted creator/updated
Added test to cover. Fixes #2733
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
|
||||
@icon('star'){!! trans('entities.meta_created' . ($entity->createdBy ? '_name' : ''), [
|
||||
'timeLength' => $entity->created_at->toDayDateTimeString(),
|
||||
'user' => htmlentities($entity->createdBy->name),
|
||||
'user' => e($entity->createdBy->name ?? ''),
|
||||
]) !!}
|
||||
<br>
|
||||
|
||||
@icon('edit'){!! trans('entities.meta_updated' . ($entity->updatedBy ? '_name' : ''), [
|
||||
'timeLength' => $entity->updated_at->toDayDateTimeString(),
|
||||
'user' => htmlentities($entity->updatedBy->name)
|
||||
'user' => e($entity->updatedBy->name ?? '')
|
||||
]) !!}
|
||||
</div>
|
Reference in New Issue
Block a user