forked from GNUsocial/gnu-social
mentioned was an array, not a single object
This commit is contained in:
parent
71978a84fd
commit
f7c6dd4f6e
@ -789,7 +789,7 @@ function common_find_mentions($text, $notice)
|
||||
|
||||
$profile = $group->getProfile();
|
||||
|
||||
$mentions[] = array('mentioned' => $profile,
|
||||
$mentions[] = array('mentioned' => array($profile),
|
||||
'text' => $hmatch[0],
|
||||
'position' => $hmatch[1],
|
||||
'url' => $group->permalink(),
|
||||
|
Loading…
Reference in New Issue
Block a user