From: Mikael Nordfeldth Date: Sat, 9 Jan 2016 12:47:38 +0000 (+0100) Subject: Local user profile getUrl gives dynamically generated URL X-Git-Url: https://git.mxchange.org/?p=quix0rs-gnu-social.git;a=commitdiff_plain;h=d1e609a886ad31b1478a9500b92f363014fc0d7c Local user profile getUrl gives dynamically generated URL --- diff --git a/classes/Profile.php b/classes/Profile.php index 845e4d429d..e8470d96c5 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -1431,6 +1431,8 @@ class Profile extends Managed_DataObject : $this->profileurl; } Event::handle('EndUserGroupHomeUrl', array($this->getGroup(), $url)); + } elseif ($this->isLocal()) { + $url = common_local_url('showstream', array('nickname' => $this->getNickname())); } else { $url = $this->profileurl; }