Fix the cdr http_enabled boolean condition

This commit is contained in:
FusionPBX
2025-02-20 09:51:08 -07:00
committed by GitHub
parent 83cf184452
commit 37840abb98

View File

@@ -1695,7 +1695,7 @@ if (!class_exists('xml_cdr')) {
//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();