mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
Add is_null check
This commit is contained in:
parent
16c6806c5b
commit
fd76b15638
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue