Fix time check
authorCyperghost <olaf_schmitz_1@t-online.de>
Thu, 8 Feb 2024 11:26:07 +0000 (12:26 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Thu, 8 Feb 2024 11:26:07 +0000 (12:26 +0100)
wcfsetup/install/files/lib/system/acp/dashboard/box/ExpiringLicensesAcpDashboardBox.class.php

index 97a8b75bb20890a5e1575ec4873966b4141952a4..e65bd013764906d70d03556130e2c5164ce0be76 100644 (file)
@@ -44,7 +44,7 @@ final class ExpiringLicensesAcpDashboardBox extends AbstractAcpDashboardBox
             $this->expiredLicenses = \array_filter(
                 $licenseData->license['expiryDates'] ?? [],
                 function ($date, $packageName) {
-                    $expiryDate = \TIME_NOW - 7_776_000; //90 days
+                    $expiryDate = \TIME_NOW + 7_776_000; //90 days
                     if (PackageCache::getInstance()->getPackageID($packageName) === null) {
                         // package not installed
                         return false;