showAvatar requires a profile

This commit is contained in:
Mikael Nordfeldth 2014-06-22 22:49:28 +02:00
parent fb9214a853
commit 734287cfd3
1 changed files with 1 additions and 1 deletions

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));
}