From f7c6dd4f6e231afbb48d0ee1ac457917fc24ede6 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 29 Oct 2013 15:06:02 +0100 Subject: [PATCH] mentioned was an array, not a single object --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index c7a8d14c59..92ae30ea00 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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(), -- 2.39.2