X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FGNUsocialProfileExtensions%2Factions%2Fbio.php;h=fc49003cb46ef8e6de867c747206046dc4d8eba9;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=bc9f12cb132ee68250eaeee8aa24c790ce8ec00f;hpb=f79aec36feaa4760201a7e88d5b31513a3c458ba;p=quix0rs-gnu-social.git diff --git a/plugins/GNUsocialProfileExtensions/actions/bio.php b/plugins/GNUsocialProfileExtensions/actions/bio.php index bc9f12cb13..fc49003cb4 100644 --- a/plugins/GNUsocialProfileExtensions/actions/bio.php +++ b/plugins/GNUsocialProfileExtensions/actions/bio.php @@ -38,21 +38,20 @@ class BioAction extends Action { var $user = null; - function prepare($args) + function prepare(array $args=array()) { parent::prepare($args); $args = $this->returnToArgs(); - $this->profile = Profile::staticGet('nickname', $args[1]['nickname']); + $this->profile = Profile::getKV('nickname', $args[1]['nickname']); //die(print_r($this->profile)); gnusocial_profile_merge($this->profile); - $this->avatar = $this->profile->getAvatar(96); return true; } - function handle($args) + function handle(array $args=array()) { parent::handle($args); $this->showPage();