mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix CDR HTTP authentication logic bug (#7382)
- Add missing negation operator in http_enabled check - Resolves silent CDR import failures when http_enabled is true - Fixes authentication logic that was preventing valid HTTP CDR imports
This commit is contained in:
@@ -1703,7 +1703,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();
|
||||
|
||||
Reference in New Issue
Block a user