Escape asset_tag attribute at controller level for consumption in bulk checkout

This commit is contained in:
Brady Wetherington 2021-11-08 20:27:43 -08:00
parent edf98cb795
commit 3ea209a507

View file

@ -910,7 +910,7 @@ class AssetsController extends Controller
}
}
return response()->json(Helper::formatStandardApiResponse('error', ['asset_tag'=> e($request->input('asset_tag'))], 'Asset with tag '.$request->input('asset_tag').' not found'));
return response()->json(Helper::formatStandardApiResponse('error', ['asset_tag'=> e($request->input('asset_tag'))], 'Asset with tag '.e($request->input('asset_tag')).' not found'));