From: Mikael Nordfeldth Date: Tue, 29 Oct 2013 14:06:02 +0000 (+0100) Subject: mentioned was an array, not a single object X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f7c6dd4f6e231afbb48d0ee1ac457917fc24ede6;p=quix0rs-gnu-social.git mentioned was an array, not a single object --- 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(),