Skip to content

Commit

Permalink
Merge pull request #15555 from snipe/fixes/user_file_upload
Browse files Browse the repository at this point in the history
Fixed case on `$logAction` for user file upload
  • Loading branch information
snipe authored Sep 25, 2024
2 parents eeabc8d + 1c3baba commit ba12204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Users/UserFilesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function store(UploadFileRequest $request, $userId = null)
$logAction = new Actionlog();
$logAction->item_id = $user->id;
$logAction->item_type = User::class;
$logaction->created_by = auth()->id();
$logAction->created_by = auth()->id();
$logAction->note = $request->input('notes');
$logAction->target_id = null;
$logAction->created_at = date("Y-m-d H:i:s");
Expand Down

0 comments on commit ba12204

Please sign in to comment.