]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact/Unfollow.php
Merge pull request #13314 from MrPetovan/bug/13311-removeme-delegate
[friendica.git] / src / Module / Contact / Unfollow.php
index 9bbc34eeed5be0716def2b522cda572f115af668..670fe57e6907ecca51b8d13f636d1744a1589719 100644 (file)
@@ -93,7 +93,7 @@ class Unfollow extends \Friendica\BaseModule
                        Strings::normaliseLink($url), Strings::normaliseLink($url), $url,
                ];
 
-               $contact = $this->database->selectFirst('contact', ['url', 'id', 'uid', 'network', 'addr', 'name'], $condition);
+               $contact = $this->database->selectFirst('contact', ['url', 'alias', 'id', 'uid', 'network', 'addr', 'name'], $condition);
                if (!$this->database->isResult($contact)) {
                        $this->systemMessages->addNotice($this->t("You aren't following this contact."));
                        $this->baseUrl->redirect($base_return_path);