Use App::getBaseURL instead of System::getBaseURL in Model\Profile::load

Co-Authored-By: Philipp <admin+Github@philipp.info>
This commit is contained in:
Hypolite Petovan 2019-06-12 10:56:41 -04:00 committed by GitHub
parent b00bcbb1c1
commit 304c144bc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -306,7 +306,7 @@ class Profile
if (isset($profile['url'])) {
$profile_url = $profile['url'];
} else {
$profile_url = System::baseUrl() . '/profile/' . $profile['nickname'];
$profile_url = $a->getBaseURL() . '/profile/' . $profile['nickname'];
}
$follow_link = null;