Commit 573a3db3 authored by Mario's avatar Mario
Browse files

php8: fix fatal error with array_merge()

parent 704f3976
......@@ -624,7 +624,7 @@ function asencode_activity($i) {
// poll answers should be addressed only to the poll owner
if($i['item_private'] && $i['obj_type'] === 'Answer') {
$ret['to'] = $i['owner']['xchan_url'];
$ret['to'][] = $i['owner']['xchan_url'];
$ret['cc'] = [];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment