Update xml_cdr.php

This commit is contained in:
FusionPBX 2025-03-22 21:03:19 -06:00 committed by GitHub
parent f58ed065fc
commit 9ee9aa4023
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1700,7 +1700,7 @@
//if http enabled is set to false then deny access
if (!defined('STDIN')) {
if ($this->settings->get('cdr', 'http_enabled', false) {
if ($this->settings->get('cdr', 'http_enabled', false)) {
openlog('FusionPBX', LOG_NDELAY, LOG_AUTH);
syslog(LOG_WARNING, '['.$_SERVER['REMOTE_ADDR'].'] XML CDR import default setting http_enabled is not enabled. Line: '.__line__);
closelog();