BUG - Notices found in the heartbeat call
- The attribute "workspaces" not defined in the class "serverConfiguration" - Define the missing attribute in the class
This commit is contained in:
@@ -53,6 +53,7 @@ class serverConf {
|
||||
var $logins;
|
||||
private $lanDirection;
|
||||
private $lanLanguage;
|
||||
public $workspaces = array();
|
||||
|
||||
|
||||
public function __construct() {
|
||||
|
||||
@@ -186,7 +186,7 @@ function buildData(){
|
||||
$licenseDomainWorkspace = null;
|
||||
$licenseNumber = 0;
|
||||
|
||||
if (file_exists(PATH_PLUGINS . "enterprise" . PATH_SEP . "class.pmLicenseManager.php")) {
|
||||
if (file_exists(PATH_PLUGINS . "enterprise" . PATH_SEP . "class.pmLicenseManager.php") && class_exists('enterprisePlugin')) {
|
||||
$licenseManager = &pmLicenseManager::getSingleton();
|
||||
|
||||
preg_match("/^license_(.*).dat$/", $licenseManager->file, $matches);
|
||||
|
||||
Reference in New Issue
Block a user