Skip to content

Commit 63a4d1a

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents f04d6f3 + 33a4c88 commit 63a4d1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/Models/License.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ public function freeSeats()
724724
public static function getExpiringLicenses($days = 60)
725725
{
726726

727-
return self::whereNull('deleted_at')
727+
return self::whereNull('licenses.deleted_at')
728728

729729
// The termination date is null or within range
730730
->where(function ($query) use ($days) {
@@ -752,7 +752,7 @@ public static function getExpiringLicenses($days = 60)
752752
public function scopeActiveLicenses($query)
753753
{
754754

755-
return $query->whereNull('deleted_at')
755+
return $query->whereNull('licenses.deleted_at')
756756

757757
// The termination date is null or within range
758758
->where(function ($query) {
@@ -768,7 +768,7 @@ public function scopeActiveLicenses($query)
768768
public function scopeExpiredLicenses($query)
769769
{
770770

771-
return $query->whereNull('deleted_at')
771+
return $query->whereNull('licenses.deleted_at')
772772

773773
// The termination date is null or within range
774774
->where(function ($query) {

0 commit comments

Comments
 (0)