diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-10-22 08:40:48 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-10-22 08:40:48 +0400 |
commit | 1d99773576ca9b693f3aeeb845136ace1f0752a2 (patch) | |
tree | 984913b8d72eb9cc75541e51cf272086da958bd1 /plugins/Live | |
parent | 2c333826410e2c9f8e01a792ae40a5ebbd6cbd1e (diff) |
Setting visitIp to null ensures clean API <visitIp /> VS <visitIp>0</visitIp> when user is anonymous
Diffstat (limited to 'plugins/Live')
-rw-r--r-- | plugins/Live/Visitor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Live/Visitor.php b/plugins/Live/Visitor.php index 55fd3fed83..965a61ff8f 100644 --- a/plugins/Live/Visitor.php +++ b/plugins/Live/Visitor.php @@ -99,7 +99,7 @@ class Visitor implements VisitorInterface if (isset($this->details['location_ip'])) { return IP::N2P($this->details['location_ip']); } - return false; + return null; } function getIdVisit() |