Merge pull request #14021 from snipe/bug/sc-24328

Fixed HTML double-encoded on checkout emails.
This commit is contained in:
snipe 2023-12-12 13:31:41 +00:00 committed by GitHub
commit 0241e66f2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,7 @@ class AssetCheckoutController extends Controller
}
}
if ($asset->checkOut($target, $admin, $checkout_at, $expected_checkin, e($request->get('note')), $request->get('name'))) {
if ($asset->checkOut($target, $admin, $checkout_at, $expected_checkin, $request->get('note'), $request->get('name'))) {
return redirect()->route('hardware.index')->with('success', trans('admin/hardware/message.checkout.success'));
}