Another notice fixed
This commit is contained in:
parent
2c65b81182
commit
e98ddf0f5e
1 changed files with 1 additions and 1 deletions
|
@ -2875,7 +2875,7 @@ function api_format_items_activities($item, $type = "json")
|
||||||
$condition = ['uid' => $item['uid'], 'thr-parent' => $item['uri'], 'gravity' => GRAVITY_ACTIVITY];
|
$condition = ['uid' => $item['uid'], 'thr-parent' => $item['uri'], 'gravity' => GRAVITY_ACTIVITY];
|
||||||
$ret = Post::selectForUser($item['uid'], ['author-id', 'verb'], $condition);
|
$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
|
// not used as result should be structured like other user data
|
||||||
//builtin_activity_puller($i, $activities);
|
//builtin_activity_puller($i, $activities);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue