]> git.mxchange.org Git - friendica.git/commitdiff
Typo
authorMichael <heluecht@pirati.ca>
Tue, 19 Jun 2018 13:26:03 +0000 (13:26 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 19 Jun 2018 13:26:03 +0000 (13:26 +0000)
src/Protocol/OStatus.php

index 3b3775c1e51380d3818faa9231aaf17aaa54b748..e84dddceaf1d35336e38c47c621027584604007e 100644 (file)
@@ -1940,10 +1940,10 @@ class OStatus
                $mentioned = [];
 
                if (($item['parent'] != $item['id']) || ($item['parent-uri'] !== $item['uri']) || (($item['thr-parent'] !== '') && ($item['thr-parent'] !== $item['uri']))) {
-                       $parent = item::selectFirst(['guid', 'author-link', 'owner-link'], ['id' => $item["parent"]]);
+                       $parent = Item::selectFirst(['guid', 'author-link', 'owner-link'], ['id' => $item["parent"]]);
                        $parent_item = (($item['thr-parent']) ? $item['thr-parent'] : $item['parent-uri']);
 
-                       $thrparent = item::selectFirst(['guid', 'author-link', 'owner-link', 'plink'], ['uid' => $owner["uid"], 'uri' => $parent_item]);
+                       $thrparent = Item::selectFirst(['guid', 'author-link', 'owner-link', 'plink'], ['uid' => $owner["uid"], 'uri' => $parent_item]);
 
                        if (DBM::is_result($thrparent)) {
                                $mentioned[$thrparent["author-link"]] = $thrparent["author-link"];