diff --git a/htdocs/debugbar/class/DataCollector/DolLogsCollector.php b/htdocs/debugbar/class/DataCollector/DolLogsCollector.php index 220b76f4356..6610c841747 100644 --- a/htdocs/debugbar/class/DataCollector/DolLogsCollector.php +++ b/htdocs/debugbar/class/DataCollector/DolLogsCollector.php @@ -73,7 +73,7 @@ class DolLogsCollector extends MessagesCollector { global $conf; - $uselogfile = getDolGlobalString("->DEBUGBAR_USE_LOGFILE"); + $uselogfile = getDolGlobalString("DEBUGBAR_USE_LOGFILE"); if ($uselogfile) { $this->getStorageLogs($this->path);