PMCORE-3241

This commit is contained in:
root
2021-08-25 12:38:53 -04:00
parent fcee460fd9
commit 0e2c446dd4

View File

@@ -30,8 +30,8 @@ class PmLicenseManager
$licenseFile = $activeLicenseSetting[config("system.workspace")]; $licenseFile = $activeLicenseSetting[config("system.workspace")];
} else { } else {
$activeLicense = $this->getActiveLicense(); $activeLicense = $this->getActiveLicense();
$oServerConf->setProperty('ACTIVE_LICENSE', [config("system.workspace") => $activeLicense['LICENSE_PATH']]); $oServerConf->setProperty('ACTIVE_LICENSE', [config("system.workspace") => isset($activeLicense['LICENSE_PATH']) ? $activeLicense['LICENSE_PATH'] : null]);
$licenseFile = $activeLicense['LICENSE_PATH']; $licenseFile = isset($activeLicense['LICENSE_PATH']) ? $activeLicense['LICENSE_PATH'] : null;
} }
$application = new license_application($licenseFile, false, true, false, true); $application = new license_application($licenseFile, false, true, false, true);