Merge pull request #12592 from uberbrady/fix_accessories_report

The 'download activity report' displayed the wrong value for 'admin' (fixes FD-33368)
This commit is contained in:
snipe 2023-03-01 12:28:03 -08:00 committed by GitHub
commit 78b36c7886
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,