diff --git a/core/orchestrator.class.inc.php b/core/orchestrator.class.inc.php index 7ea3e2c..ebbe7df 100644 --- a/core/orchestrator.class.inc.php +++ b/core/orchestrator.class.inc.php @@ -175,7 +175,7 @@ public function InitSynchroDataSources($aCollectors) Utils::Log(LOG_ERR, "Unable to find the contact with email = '$sEmailToNotify'. No contact to notify will be defined."); } } - $sSynchroUser = Utils::GetConfigurationValue('synchro_user', Utils::GetConfigurationValue('itop_login', '')); + $sSynchroUser = Utils::GetConfigurationValue('synchro_user') ?: Utils::GetConfigurationValue('itop_login'); $aPlaceholders['$synchro_user$'] = 0; if ($sSynchroUser != '') { $oRestClient = new RestClient();