Use App::getBaseURL instead of System::getBaseURL in Model\Profile::load
Co-Authored-By: Philipp <admin+Github@philipp.info>
This commit is contained in:
parent
b00bcbb1c1
commit
304c144bc2
|
@ -306,7 +306,7 @@ class Profile
|
||||||
if (isset($profile['url'])) {
|
if (isset($profile['url'])) {
|
||||||
$profile_url = $profile['url'];
|
$profile_url = $profile['url'];
|
||||||
} else {
|
} else {
|
||||||
$profile_url = System::baseUrl() . '/profile/' . $profile['nickname'];
|
$profile_url = $a->getBaseURL() . '/profile/' . $profile['nickname'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$follow_link = null;
|
$follow_link = null;
|
||||||
|
|
Loading…
Reference in a new issue