mentioned was an array, not a single object

This commit is contained in:
Mikael Nordfeldth 2013-10-29 15:06:02 +01:00
parent 71978a84fd
commit f7c6dd4f6e
1 changed files with 1 additions and 1 deletions

View File

@ -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(),