Merge pull request #17362 from Godmartinz/license-redirect-bug

Fixed #17310 - 500 on redirect when checking in a license seat
This commit is contained in:
snipe
2025-07-08 21:59:22 +01:00
committed by GitHub

View File

@@ -98,7 +98,9 @@ class LicenseCheckinController extends Controller
$licenseSeat->notes = $request->input('notes');
session()->put(['redirect_option' => $request->get('redirect_option')]);
if ($request->get('redirect_option') === 'target'){
session()->put(['checkout_to_type' => 'user']);
}
// Was the asset updated?
if ($licenseSeat->save()) {