From ac055c01dc79166b473b31fc64e0496c561d4425 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 12 Oct 2022 15:59:43 -0700 Subject: [PATCH] Use admin ID for audit log notification Signed-off-by: snipe --- app/Models/Loggable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Loggable.php b/app/Models/Loggable.php index cf5eabc67b..53ff279a09 100644 --- a/app/Models/Loggable.php +++ b/app/Models/Loggable.php @@ -189,7 +189,7 @@ trait Loggable $params = [ 'item' => $log->item, 'filename' => $log->filename, - 'admin' => $log->user, + 'admin' => $log->admin, 'location' => ($location) ? $location->name : '', 'note' => $note, ];