diff --git a/htdocs/admin/syslog.php b/htdocs/admin/syslog.php
index dfdc53e0f18..10b3d1bd47b 100644
--- a/htdocs/admin/syslog.php
+++ b/htdocs/admin/syslog.php
@@ -180,10 +180,10 @@ if (!$defaultsyslogfacility) {
if (!$defaultsyslogfile) {
$defaultsyslogfile = 'dolibarr.log';
}
-
-if ($conf->global->MAIN_MODULE_MULTICOMPANY && $user->entity) {
+$optionmc = '';
+if (!empty($conf->global->MAIN_MODULE_MULTICOMPANY) && $user->entity) {
print '
'.$langs->trans("ContactSuperAdminForChange").'
';
- $option = 'disabled';
+ $optionmc = 'disabled';
}
@@ -199,7 +199,7 @@ print '';
print '