mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Removed duplicate log entry on asset creation
This commit is contained in:
parent
c816870083
commit
9fe2a7f81d
|
@ -219,7 +219,7 @@ class AssetsController extends Controller
|
|||
|
||||
// Was the asset created?
|
||||
if ($asset->save()) {
|
||||
$asset->logCreate();
|
||||
|
||||
|
||||
if (request('assigned_user')) {
|
||||
$target = User::find(request('assigned_user'));
|
||||
|
|
Loading…
Reference in a new issue