X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=af16197a04d827a938a8f656cbd8a890ed8a198a;hb=8b20af6ef536e34c3bc9c412cbffa4cf9c0cea53;hp=a86b412b3235e7484d9a6fe9f92e412e84b64bb7;hpb=ccb465eccd8d87d2ea13b619b665d68e6d2d1181;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index a86b412b32..af16197a04 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -44,13 +44,15 @@ function suggest_init(&$a) { } } - + function suggest_content(&$a) { + require_once("mod/proxy.php"); + $o = ''; if(! local_user()) { notice( t('Permission denied.') . EOL); @@ -82,7 +84,7 @@ function suggest_content(&$a) { $o .= replace_macros($tpl,array( '$url' => zrl($rr['url']), '$name' => $rr['name'], - '$photo' => $rr['photo'], + '$photo' => proxy_url($rr['photo']), '$ignlnk' => $a->get_baseurl() . '/suggest?ignore=' . $rr['id'], '$ignid' => $rr['id'], '$conntxt' => t('Connect'),