Added App::get_cached_avatar_image usage for displaying "Latest users"

avatar thumbs in left sidebar of Community home page.
Requires: FRIENDICA_VERSION 3.0.1380+
pull/63/head
Zvi ben Yaakov (a.k.a rdc) 2012-06-25 13:42:37 +03:00
parent ae70cbe9c7
commit 493eb176d3
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ function communityhome_home(&$a, &$o){
$entry = replace_macros($tpl,array(
'$id' => $rr['id'],
'$profile-link' => $profile_link,
'$photo' => $rr[$photo],
'$photo' => $a->get_cached_avatar_image($rr[$photo]),
'$alt-text' => $rr['name'],
));
$aside['$lastusers_items'][] = $entry;