diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index e7a8292a7c..1b85d283a3 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -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();