X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FProfile.php;h=e2857947c0fcf56f34658efbcfb584195fb04d8a;hb=459f28776d015f44e9a449363b190f8a0dada5d5;hp=b30cca8a6e8568fa74cf4dabfbf1a4288ea08bd3;hpb=7560939d75c6bdc19f4179e0644373ddce0bf915;p=friendica.git diff --git a/src/Model/Profile.php b/src/Model/Profile.php index b30cca8a6e..e2857947c0 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -334,7 +334,7 @@ class Profile if (!$local_user_is_self) { if (!$visitor_is_authenticated) { // Remote follow is only available for local profiles - if (!empty($profile['nickname']) && strpos($profile_url, DI::baseUrl()) === 0) { + if (!empty($profile['nickname']) && strpos($profile_url, (string)DI::baseUrl()) === 0) { $follow_link = 'profile/' . $profile['nickname'] . '/remote_follow'; } } else {