Skip to content

A free open source IT asset/license management system

Use the user as the target

snipe02913235020d
diff --git a/app/Console/Commands/CheckinLicensesFromAllUsers.php b/app/Console/Commands/CheckinLicensesFromAllUsers.php
index fac3a92afa..a4e7477817 100644
--- a/app/Console/Commands/CheckinLicensesFromAllUsers.php
+++ b/app/Console/Commands/CheckinLicensesFromAllUsers.php
@@ -81,7 +81,7 @@ class CheckinLicensesFromAllUsers extends Command
if ($seat->save()) {
// Log the checkin
- $seat->logCheckin($license, 'Checked in via cli tool');
+ $seat->logCheckin($seat->user, 'Checked in via cli tool');
}