diff --git a/include/text.php b/include/text.php index 285ab751e3..26b153549f 100644 --- a/include/text.php +++ b/include/text.php @@ -743,7 +743,7 @@ function dlogger($msg, $level = 0) { } $dlogip = Config::get('system', 'dlogip'); - if ($dlogip && $_SERVER['REMOTE_ADDR'] != $dlogip) { + if (!is_null($dlogip) && $_SERVER['REMOTE_ADDR'] != $dlogip) { return; }