Skip to content

Commit c87829b

Browse files
authored
Merge pull request #17849 from Godmartinz/rollbar-unreassignablecount-fix
Fixed typo in UnreassignableCount
2 parents 80c059b + 6799c41 commit c87829b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Models/License.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Illuminate\Support\Facades\Session;
1515
use Watson\Validating\ValidatingTrait;
1616

17+
1718
class License extends Depreciable
1819
{
1920
use HasFactory;
@@ -608,7 +609,7 @@ public static function unReassignableCount($license) : int
608609
{
609610
$count = 0;
610611
if (!$license->reassignable) {
611-
$count = licenseSeat::query()->where('unreassignable_seat', '=', true)
612+
$count = LicenseSeat::query()->where('unreassignable_seat', '=', true)
612613
->where('license_id', '=', $license->id)
613614
->count();
614615
}

0 commit comments

Comments
 (0)