]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
Make "HTTPRequest::curl" dynamic
[friendica.git] / mod / editpost.php
index 7cccfdb2d40e232c2d44cb0a684bffddd98388a1..8bde0329331b1dd3f0e1f427a4b92b82c6561fc3 100644 (file)
@@ -145,7 +145,7 @@ function undo_post_tagging($s) {
        if ($cnt) {
                foreach ($matches as $mtch) {
                        if (in_array($mtch[1], ['!', '@'])) {
-                               $contact = Contact::getDetailsByURL($mtch[2]);
+                               $contact = Contact::getByURL($mtch[2], false, ['addr']);
                                $mtch[3] = empty($contact['addr']) ? $mtch[2] : $contact['addr'];
                        }
                        $s = str_replace($mtch[0], $mtch[1] . $mtch[3],$s);