]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
showAvatar requires a profile
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 22 Jun 2014 20:49:28 +0000 (22:49 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 22 Jun 2014 20:49:28 +0000 (22:49 +0200)
lib/profilelist.php

index 63ace5c6e3cc2b5ec261a352b79e7c0ec3530077..2aa477274972b45b3911cc1c012626259a79897a 100644 (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));
             }