From f97a358a9b0d73e96c6dd52ea304574d0bbff039 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 5 Nov 2019 08:21:18 -0500 Subject: [PATCH] Normalize the return value type of Session::getRemoteContactID --- src/Core/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];