Removed added line for location

This commit is contained in:
snipe 2020-07-16 17:43:44 -07:00
parent c7125c3937
commit 897757bd04
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

View file

@ -137,7 +137,7 @@ class AssetsController extends Controller
$asset->supplier_id = request('supplier_id', 0);
$asset->requestable = request('requestable', 0);
$asset->rtd_location_id = request('rtd_location_id', null);
$asset->location_id = request('rtd_location_id', null);
if ($asset->assigned_to=='') {
$asset->location_id = $request->input('rtd_location_id', null);