mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Fixed case on logAction for usewr file upload
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
eeabc8dc9d
commit
1c3babacaf
|
@ -46,7 +46,7 @@ class UserFilesController extends Controller
|
||||||
$logAction = new Actionlog();
|
$logAction = new Actionlog();
|
||||||
$logAction->item_id = $user->id;
|
$logAction->item_id = $user->id;
|
||||||
$logAction->item_type = User::class;
|
$logAction->item_type = User::class;
|
||||||
$logaction->created_by = auth()->id();
|
$logAction->created_by = auth()->id();
|
||||||
$logAction->note = $request->input('notes');
|
$logAction->note = $request->input('notes');
|
||||||
$logAction->target_id = null;
|
$logAction->target_id = null;
|
||||||
$logAction->created_at = date("Y-m-d H:i:s");
|
$logAction->created_at = date("Y-m-d H:i:s");
|
||||||
|
|
Loading…
Reference in a new issue