From ab9729c39aa751383c384483bbc936e0834718e8 Mon Sep 17 00:00:00 2001 From: Kasey Date: Fri, 3 Nov 2017 09:51:15 -0700 Subject: [PATCH] fix to availCount() (licenseSeatRelation) (#4378) `license_seats`.`user_id` represents an overall "owner" of the license --- app/Models/License.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Models/License.php b/app/Models/License.php index a5aa8572b3..11f1326aa9 100755 --- a/app/Models/License.php +++ b/app/Models/License.php @@ -268,7 +268,6 @@ class License extends Depreciable return $this->licenseSeatsRelation() ->whereNull('asset_id') ->whereNull('assigned_to') - ->whereNull('user_id') ->whereNull('deleted_at'); }