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