Fix notice "Undefined index: internal-verb"
This commit is contained in:
parent
f5f8ea8715
commit
2c65b81182
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class PublicTimeline extends BaseApi
|
|||
$items = Post::selectForUser(0, ['uri-id', 'uid'], $condition, $params);
|
||||
|
||||
$statuses = [];
|
||||
while ($item = Item::fetch($items)) {
|
||||
while ($item = Post::fetch($items)) {
|
||||
$statuses[] = DI::mstdnStatus()->createFromUriId($item['uri-id'], $item['uid']);
|
||||
}
|
||||
DBA::close($items);
|
||||
|
|
Loading…
Reference in a new issue