]> git.mxchange.org Git - friendica.git/blobdiff - mod/viewcontacts.php
Merge pull request #1965 from rabuzarus/event-attendance
[friendica.git] / mod / viewcontacts.php
index 3a6c48a3b2fab619688999c7e751796785ce2456..a6bf74b2885df20042a8de26186029a12db00917 100644 (file)
@@ -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']),
                );
        }