Normalize the return value type of Session::getRemoteContactID

This commit is contained in:
Hypolite Petovan 2019-11-05 08:21:18 -05:00
parent e04b679e6a
commit f97a358a9b

View File

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