]> git.mxchange.org Git - friendica.git/commitdiff
Use App::getBaseURL instead of System::getBaseURL in Model\Profile::load
authorHypolite Petovan <hypolite@mrpetovan.com>
Wed, 12 Jun 2019 14:56:41 +0000 (10:56 -0400)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2019 14:56:41 +0000 (10:56 -0400)
Co-Authored-By: Philipp <admin+Github@philipp.info>
src/Model/Profile.php

index 4cda6e452a32306403173376b64c232a7d8db88c..f78edb5bd071408b9836e9b45d1eeac422c7d65f 100644 (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;