The 'download activity report' displayed the wrong value for 'admin'

This commit is contained in:
Brady Wetherington 2023-03-01 12:23:13 -08:00
parent c1b57064d4
commit ca849db316

View file

@ -284,7 +284,7 @@ class ReportsController extends Controller
$row = [
$actionlog->created_at,
($actionlog->user) ? e($actionlog->user->getFullNameAttribute()) : '',
($actionlog->admin) ? e($actionlog->admin->getFullNameAttribute()) : '',
$actionlog->present()->actionType(),
e($actionlog->itemType()),
($actionlog->itemType() == 'user') ? $actionlog->filename : $item_name,