showAvatar requires a profile
This commit is contained in:
parent
fb9214a853
commit
734287cfd3
@ -153,7 +153,7 @@ class ProfileListItem extends Widget
|
|||||||
if (Event::handle('StartProfileListItemAvatar', array($this))) {
|
if (Event::handle('StartProfileListItemAvatar', array($this))) {
|
||||||
$aAttrs = $this->linkAttributes();
|
$aAttrs = $this->linkAttributes();
|
||||||
$this->out->elementStart('a', $aAttrs);
|
$this->out->elementStart('a', $aAttrs);
|
||||||
$this->showAvatar();
|
$this->showAvatar($this->profile);
|
||||||
$this->out->elementEnd('a');
|
$this->out->elementEnd('a');
|
||||||
Event::handle('EndProfileListItemAvatar', array($this));
|
Event::handle('EndProfileListItemAvatar', array($this));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user