Merge pull request #15845 from snipe/bug/sc-27523

Fixed variable name to correctly log created_by and date for bulk user delete/checkin
This commit is contained in:
snipe 2024-11-19 13:29:21 +00:00 committed by GitHub
commit d576016a1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -323,7 +323,7 @@ class BulkUsersController extends Controller
$logAction->item_type = $itemType; $logAction->item_type = $itemType;
$logAction->target_id = $item->assigned_to; $logAction->target_id = $item->assigned_to;
$logAction->target_type = User::class; $logAction->target_type = User::class;
$logAction->created_at = auth()->id(); $logAction->created_by = auth()->id();
$logAction->note = 'Bulk checkin items'; $logAction->note = 'Bulk checkin items';
$logAction->logaction('checkin from'); $logAction->logaction('checkin from');
} }