Merge pull request #358 from rdc/master
Added App::get_cached_avatar_image usage for displaying "Last users" avatar thumbs in right sidebar
This commit is contained in:
commit
d0e14809fd
1 changed files with 1 additions and 1 deletions
|
@ -528,7 +528,7 @@ if ($color=="dark") $color_path = "/diabook-dark/";
|
||||||
$entry = replace_macros($tpl,array(
|
$entry = replace_macros($tpl,array(
|
||||||
'$id' => $rr['id'],
|
'$id' => $rr['id'],
|
||||||
'$profile-link' => $profile_link,
|
'$profile-link' => $profile_link,
|
||||||
'$photo' => $rr[$photo],
|
'$photo' => $a->get_cached_avatar_image($rr[$photo]),
|
||||||
'$alt-text' => $rr['name'],
|
'$alt-text' => $rr['name'],
|
||||||
));
|
));
|
||||||
$aside['$lastusers_items'][] = $entry;
|
$aside['$lastusers_items'][] = $entry;
|
||||||
|
|
Loading…
Reference in a new issue