]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Api/Twitter/ContactEndpoint.php
spelling: days
[friendica.git] / src / Module / Api / Twitter / ContactEndpoint.php
index d68f1a403707933b53a815aaf88a9b08be9ce0f0..a338d3ce7041df03ffe9bccae3528047c198ae99 100644 (file)
@@ -62,7 +62,7 @@ abstract class ContactEndpoint extends BaseApi
                        if (!$screen_name) {
                                $contact = Contact::getById($contact_id, ['nick', 'url']);
                                // We don't have the followers of remote accounts so we check for locality
-                               if (empty($contact) || !Strings::startsWith($contact['url'], DI::baseUrl()->get())) {
+                               if (empty($contact) || !Strings::startsWith($contact['url'], DI::baseUrl())) {
                                        throw new HTTPException\NotFoundException(DI::l10n()->t('Contact not found'));
                                }