From 874476e05ef4312da3b46d4d9319b68f405651bd Mon Sep 17 00:00:00 2001 From: Thomas Casteleyn Date: Thu, 13 Jun 2024 16:15:06 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20N=C2=B07338=20to=20actually=20use=20"itop?= =?UTF-8?q?=5Flogin"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/orchestrator.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();