From: Michael Date: Sun, 17 Jan 2021 09:08:35 +0000 (+0000) Subject: Another notice fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e98ddf0f5e75f2b55cb59bbca0980ecba91d7f47;p=friendica.git Another notice fixed --- diff --git a/include/api.php b/include/api.php index d55f7ce7ac..5aba989187 100644 --- a/include/api.php +++ b/include/api.php @@ -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);