]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Item.php
Changed parameter order for getByURL
[friendica.git] / src / Content / Item.php
index 052670bc7f4c66866628d26fcd850729c3c7f1b1..d93b0c1b6d4b4a917de6f2611c2d78be48c1592c 100644 (file)
@@ -130,7 +130,7 @@ class Item
                                // Checking for the alias that is used for OStatus
                                $pattern = '/[@!]\[url\=(.*?)\](.*?)\[\/url\]/ism';
                                if (preg_match($pattern, $tag, $matches)) {
-                                       $data = Contact::getByURL($matches[1], 0, ['alias', 'nick'], false);
+                                       $data = Contact::getByURL($matches[1], false, ['alias', 'nick']);
 
                                        if ($data['alias'] != '') {
                                                $newtag = '@[url=' . $data['alias'] . ']' . $data['nick'] . '[/url]';