Commit f7c6dd4f authored by mmn's avatar mmn

mentioned was an array, not a single object

parent 71978a84
......@@ -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(),
......
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