[COMPONENT][Collection] Organisation no longer is an actor type but rather a type of Actor Group

This commit is contained in:
Diogo Peralta Cordeiro 2022-02-14 00:41:57 +00:00
parent 10d1a7ed2a
commit 262b14a977
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class Collection extends Component
if (\in_array($type, ['actor', 'actors'])) {
$type_consts = null;
} else {
$type_consts[] = \constant(Actor::class . '::' . mb_strtoupper($type));
$type_consts[] = \constant(Actor::class . '::' . mb_strtoupper($type === 'organisation' ? 'group' : $type));
}
}
}