[COMPONENT][Group] Cast integer string to int when getting group from context
This commit is contained in:
parent
0649a5154c
commit
a08b661779
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user