Improve variable type

This commit is contained in:
Marcus Moore
2024-02-27 12:23:26 -08:00
parent a5516e3511
commit 5084e5d3ef
2 changed files with 3 additions and 3 deletions
@@ -899,8 +899,8 @@ class AssetsController extends Controller
if ($request->filled('location_id')) {
$asset->location_id = $request->input('location_id');
if ($request->get('update_default_location') == 0){
$asset->rtd_location_id = $request->get('location_id');
if ($request->input('update_default_location')){
$asset->rtd_location_id = $request->input('location_id');
}
}