showAvatar requires a profile

This commit is contained in:
Mikael Nordfeldth 2014-06-22 22:49:28 +02:00
parent fb9214a853
commit 734287cfd3

View File

@ -153,7 +153,7 @@ class ProfileListItem extends Widget
if (Event::handle('StartProfileListItemAvatar', array($this))) {
$aAttrs = $this->linkAttributes();
$this->out->elementStart('a', $aAttrs);
$this->showAvatar();
$this->showAvatar($this->profile);
$this->out->elementEnd('a');
Event::handle('EndProfileListItemAvatar', array($this));
}