]> git.mxchange.org Git - friendica.git/commitdiff
Another notice fixed
authorMichael <heluecht@pirati.ca>
Sun, 17 Jan 2021 09:08:35 +0000 (09:08 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 17 Jan 2021 09:08:35 +0000 (09:08 +0000)
include/api.php

index d55f7ce7ac673ed7a5e1ddff7f650db9318eed50..5aba989187e6274a39c2da1a214f15858678986b 100644 (file)
@@ -2875,7 +2875,7 @@ function api_format_items_activities($item, $type = "json")
        $condition = ['uid' => $item['uid'], 'thr-parent' => $item['uri'], 'gravity' => GRAVITY_ACTIVITY];
        $ret = Post::selectForUser($item['uid'], ['author-id', 'verb'], $condition);
 
-       while ($parent_item = Item::fetch($ret)) {
+       while ($parent_item = Post::fetch($ret)) {
                // not used as result should be structured like other user data
                //builtin_activity_puller($i, $activities);