From: Hypolite Petovan Date: Sun, 4 Feb 2018 13:58:29 +0000 (-0500) Subject: Add is_null check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fd76b15638feae5857ab3157cb8784b60a9e4448;p=friendica.git Add is_null check --- 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; }