From fd76b15638feae5857ab3157cb8784b60a9e4448 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 4 Feb 2018 08:58:29 -0500 Subject: [PATCH] Add is_null check --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5