Applied escaping fix from master to develop

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-11-24 19:38:27 -08:00
parent ef8f646ab2
commit 29bbfad693

View file

@ -197,7 +197,7 @@ class AssetsController extends Controller
}
if (isset($target)) {
$asset->checkOut($target, Auth::user(), date('Y-m-d H:i:s'), $request->input('expected_checkin', null), 'Checked out on asset creation', e($request->get('name')), $location);
$asset->checkOut($target, Auth::user(), date('Y-m-d H:i:s'), $request->input('expected_checkin', null), 'Checked out on asset creation', $request->get('name'), $location);
}
$success = true;