From e98ddf0f5e75f2b55cb59bbca0980ecba91d7f47 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 17 Jan 2021 09:08:35 +0000 Subject: [PATCH] Another notice fixed --- include/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);