Fix PHP 8.1.7
This commit is contained in:
parent
a62b5a10fe
commit
4620224b65
@ -40,7 +40,7 @@ class DolibarrDebugBar extends DebugBar
|
||||
//$this->addCollector(new DolExceptionsCollector());
|
||||
$this->addCollector(new DolQueryCollector());
|
||||
$this->addCollector(new DolibarrCollector());
|
||||
if ($conf->syslog->enabled) {
|
||||
if (!empty($conf->syslog->enabled)) {
|
||||
$this->addCollector(new DolLogsCollector());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user