]> git.mxchange.org Git - friendica.git/commitdiff
Add is_null check
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 4 Feb 2018 13:58:29 +0000 (08:58 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sun, 4 Feb 2018 13:58:29 +0000 (08:58 -0500)
include/text.php

index 285ab751e3a613ab109d145340d92dc75b3c9e9a..26b153549f3909206ff0aaae470913c4ed01bd51 100644 (file)
@@ -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;
        }