From: Mikael Nordfeldth <mmn@hethane.se> Date: Sun, 22 Jun 2014 20:49:28 +0000 (+0200) Subject: showAvatar requires a profile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=734287cfd37b9833a2d0fdf93c25934c2cae9e53;p=quix0rs-gnu-social.git showAvatar requires a profile --- diff --git a/lib/profilelist.php b/lib/profilelist.php index 63ace5c6e3..2aa4772749 100644 --- a/lib/profilelist.php +++ b/lib/profilelist.php @@ -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)); }