[COMPONENT][Group] Cast integer string to int when getting group from context

This commit is contained in:
Diogo Peralta Cordeiro 2022-03-17 22:53:05 +00:00
parent 0649a5154c
commit a08b661779
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
1 changed files with 1 additions and 1 deletions

View File

@ -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;