diff --git a/components/Group/Group.php b/components/Group/Group.php index 2be246d166..318b68ff3b 100644 --- a/components/Group/Group.php +++ b/components/Group/Group.php @@ -104,7 +104,7 @@ class Group extends Component case 'group_actor_view_nickname': return LocalGroup::getActorByNickname($identifier); case 'group_actor_view_id': - return Actor::getById($identifier); + return Actor::getById((int) $identifier); } } return null;