Skip to content

Commit d576016

Browse files
authored
Merge pull request #15845 from snipe/bug/sc-27523
Fixed variable name to correctly log created_by and date for bulk user delete/checkin
2 parents 8f72231 + 15a31bd commit d576016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Users/BulkUsersController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ protected function logItemCheckinAndDelete($items, $itemType)
323323
$logAction->item_type = $itemType;
324324
$logAction->target_id = $item->assigned_to;
325325
$logAction->target_type = User::class;
326-
$logAction->created_at = auth()->id();
326+
$logAction->created_by = auth()->id();
327327
$logAction->note = 'Bulk checkin items';
328328
$logAction->logaction('checkin from');
329329
}

0 commit comments

Comments
 (0)