mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
One more fix for #2810
This commit is contained in:
parent
557714e7b7
commit
e1423bd9d9
|
@ -387,7 +387,7 @@ class LicensesController extends Controller
|
|||
|
||||
$license = License::find($licenseSeat->license_id);
|
||||
|
||||
$this->authorize('checkin', $licenseSeat);
|
||||
$this->authorize('checkin', $license);
|
||||
|
||||
if (!$license->reassignable) {
|
||||
// Not allowed to checkin
|
||||
|
|
Loading…
Reference in a new issue