]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Term.php
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
[friendica.git] / src / Model / Term.php
index 1de93fb05b64faffd1d174456923fb4bd27dd562..01169c52265b0f235d4a41ebab8bbbb4d4a7af83 100644 (file)
@@ -210,7 +210,7 @@ class Term
        {
                $profile_base = System::baseUrl();
                $profile_data = parse_url($profile_base);
-               $profile_path = defaults($profile_data, 'path', '');
+               $profile_path = $profile_data['path'] ?? '';
                $profile_base_friendica = $profile_data['host'] . $profile_path . '/profile/';
                $profile_base_diaspora = $profile_data['host'] . $profile_path . '/u/';