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
1 changed files with 1 additions and 1 deletions

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;