]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
mentioned was an array, not a single object
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 29 Oct 2013 14:06:02 +0000 (15:06 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 29 Oct 2013 14:06:02 +0000 (15:06 +0100)
lib/util.php

index c7a8d14c597fefec68e231b05c669ec419f9e95e..92ae30ea0038084492da8ace1872169d35a7e396 100644 (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(),