]> git.mxchange.org Git - friendica.git/commitdiff
Normalize the return value type of Session::getRemoteContactID
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 5 Nov 2019 13:21:18 +0000 (08:21 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 20 Jan 2020 12:32:46 +0000 (07:32 -0500)
src/Core/Session.php

index d0c8581d31e4a07560b261d77039c6684c4d9454..0af4d344b11337c019bc27ea3bdba480aa09ab86 100644 (file)
@@ -61,7 +61,7 @@ class Session
                $session = DI::session();
 
                if (empty($session->get('remote')[$uid])) {
-                       return false;
+                       return 0;
                }
 
                return $session->get('remote')[$uid];