[COMPONENT][Collection] Organisation no longer is an actor type but rather a type of Actor Group
This commit is contained in:
parent
10d1a7ed2a
commit
262b14a977
|
@ -104,7 +104,7 @@ class Collection extends Component
|
||||||
if (\in_array($type, ['actor', 'actors'])) {
|
if (\in_array($type, ['actor', 'actors'])) {
|
||||||
$type_consts = null;
|
$type_consts = null;
|
||||||
} else {
|
} else {
|
||||||
$type_consts[] = \constant(Actor::class . '::' . mb_strtoupper($type));
|
$type_consts[] = \constant(Actor::class . '::' . mb_strtoupper($type === 'organisation' ? 'group' : $type));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user