Fixed:
- $object_data['actor'] can be null, but Receiver::getReceivers()'s 2nd parameter expect it to be string
This commit is contained in:
parent
33768ea1c6
commit
5c9ce790bf
|
@ -1768,7 +1768,7 @@ class Receiver
|
||||||
$object_data['question'] = self::processQuestion($object);
|
$object_data['question'] = self::processQuestion($object);
|
||||||
}
|
}
|
||||||
|
|
||||||
$receiverdata = self::getReceivers($object, $object_data['actor'], $object_data['tags'], true);
|
$receiverdata = self::getReceivers($object, $object_data['actor'] ?? '', $object_data['tags'], true);
|
||||||
$receivers = $reception_types = [];
|
$receivers = $reception_types = [];
|
||||||
foreach ($receiverdata as $key => $data) {
|
foreach ($receiverdata as $key => $data) {
|
||||||
$receivers[$key] = $data['uid'];
|
$receivers[$key] = $data['uid'];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user