From: Hypolite Petovan Date: Tue, 5 Nov 2019 13:21:18 +0000 (-0500) Subject: Normalize the return value type of Session::getRemoteContactID X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f97a358a9b0d73e96c6dd52ea304574d0bbff039;p=friendica.git Normalize the return value type of Session::getRemoteContactID --- diff --git a/src/Core/Session.php b/src/Core/Session.php index d0c8581d31..0af4d344b1 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];