Normalize the return value type of Session::getRemoteContactID
This commit is contained in:
parent
e04b679e6a
commit
f97a358a9b
|
@ -61,7 +61,7 @@ class Session
|
|||
$session = DI::session();
|
||||
|
||||
if (empty($session->get('remote')[$uid])) {
|
||||
return false;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return $session->get('remote')[$uid];
|
||||
|
|
Loading…
Reference in a new issue