X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fviewcontacts.php;h=a6bf74b2885df20042a8de26186029a12db00917;hb=aded5e4127a04c3df7ff44a811b96057412adf37;hp=3a6c48a3b2fab619688999c7e751796785ce2456;hpb=5837fd4f817c06a723af9ad27298b6bef40e37e5;p=friendica.git diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php index 3a6c48a3b2..a6bf74b288 100644 --- a/mod/viewcontacts.php +++ b/mod/viewcontacts.php @@ -62,13 +62,13 @@ function viewcontacts_content(&$a) { $contacts[] = array( 'id' => $rr['id'], 'img_hover' => sprintf( t('Visit %s\'s profile [%s]'), $rr['name'], $rr['url']), - 'thumb' => proxy_url($rr['thumb']), - 'name' => substr($rr['name'],0,20), - 'username' => $rr['name'], + 'thumb' => proxy_url($rr['thumb'], false, PROXY_SIZE_THUMB), + 'name' => htmlentities(substr($rr['name'],0,20)), + 'username' => htmlentities($rr['name']), 'url' => $url, 'sparkle' => '', 'itemurl' => $rr['url'], - 'network' => network_to_name($rr['network']), + 'network' => network_to_name($rr['network'], $rr['url']), ); }