A free open source IT asset/license management system
Added missing created by in item request
snipe5819a5c0358e
diff --git a/app/Http/Controllers/ViewAssetsController.php b/app/Http/Controllers/ViewAssetsController.phpindex 71caf9707b..23d61c33b1 100755--- a/app/Http/Controllers/ViewAssetsController.php+++ b/app/Http/Controllers/ViewAssetsController.php@@ -236,6 +236,7 @@ class ViewAssetsController extends Controller$logaction->item_id = $item->id;$logaction->item_type = $fullItemType;$logaction->created_at = date('Y-m-d H:i:s');+ $logaction->created_by = auth()->id();if ($user->location_id) {$logaction->location_id = $user->location_id;}