]> git.mxchange.org Git - friendica.git/blobdiff - mod/suggest.php
Merge remote-tracking branch 'upstream/develop' into 1607-api-generic-xml
[friendica.git] / mod / suggest.php
index bb8823d9ec8c8a1767ac9e4047c3d1c2ecab5d37..00033b2d246feba8b84f961dc4edf4a8587844aa 100644 (file)
@@ -78,9 +78,12 @@ function suggest_content(&$a) {
 
                $connlnk = $a->get_baseurl() . '/follow/?url=' . (($rr['connect']) ? $rr['connect'] : $rr['url']);
                $ignlnk = $a->get_baseurl() . '/suggest?ignore=' . $rr['id'];
-               $photo_menu = array(array(t("View Profile"), zrl($rr["url"])));
-               $photo_menu[] = array(t("Connect/Follow"), $connlnk);
-               $photo_menu[] = array(t('Ignore/Hide'), $ignlnk);
+               $photo_menu = array(
+                       'profile' => array(t("View Profile"), zrl($rr["url"])),
+                       'follow' => array(t("Connect/Follow"), $connlnk),
+                       'hide' => array(t('Ignore/Hide'), $ignlnk)
+               );
+
                $contact_details = get_contact_details_by_url($rr["url"], local_user(), $rr);
 
                $entry = array(