Merge pull request #19119 from frederic34/patch-4

fix warning 🚄 🏠
This commit is contained in:
Laurent Destailleur 2021-10-22 22:49:48 +02:00 committed by GitHub
commit 082150660f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ class DolLogsCollector extends MessagesCollector
{
global $conf;
$uselogfile = $conf->global->DEBUGBAR_USE_LOGFILE;
$uselogfile = getDolGlobalInt('DEBUGBAR_USE_LOGFILE');
if ($uselogfile) {
$this->getStorageLogs($this->path);