X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=b73c2cd1b61eef34a248ff9e507d92b4182f419b;hb=ec57b61f012562e3a2464869d62ade97fdc2e8d9;hp=578338b5058055ff85d57dbb22d7c6abff4aab9f;hpb=4528529968d0ef291c7307c534e792e1bb0013ed;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index 578338b505..b73c2cd1b6 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -36,7 +36,7 @@ function suggest_init(&$a) { } // Now check how the user responded to the confirmation query if(!$_REQUEST['canceled']) { - q("insert into gcign ( uid, gcid ) values ( %d, %d ) ", + q("INSERT INTO `gcign` ( `uid`, `gcid` ) VALUES ( %d, %d ) ", intval(local_user()), intval($_GET['ignore']) ); @@ -90,8 +90,9 @@ function suggest_content(&$a) { 'name' => $rr['name'], 'thumb' => proxy_url($rr['photo'], false, PROXY_SIZE_THUMB), 'details' => $contact_details['location'], - 'tags' => $contact_details['keywords'], - 'about' => $contact_details['about'], + 'tags' => $contact_details['keywords'], + 'about' => $contact_details['about'], + 'account_type' => (($contact_details['community']) ? t('Forum') : ''), 'ignlnk' => $ignlnk, 'ignid' => $rr['id'], 'conntxt' => t('Connect'),