diff --git a/src/Core/Session.php b/src/Core/Session.php index d0c8581d3..0af4d344b 100644 --- a/src/Core/Session.php +++ b/src/Core/Session.php @@ -61,7 +61,7 @@ class Session $session = DI::session(); if (empty($session->get('remote')[$uid])) { - return false; + return 0; } return $session->get('remote')[$uid];