Fix notice "Undefined index: internal-verb"

2022.09-rc
Michael 2021-01-17 08:15:18 +00:00
rodzic f5f8ea8715
commit 2c65b81182
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -85,7 +85,7 @@ class PublicTimeline extends BaseApi
$items = Post::selectForUser(0, ['uri-id', 'uid'], $condition, $params); $items = Post::selectForUser(0, ['uri-id', 'uid'], $condition, $params);
$statuses = []; $statuses = [];
while ($item = Item::fetch($items)) { while ($item = Post::fetch($items)) {
$statuses[] = DI::mstdnStatus()->createFromUriId($item['uri-id'], $item['uid']); $statuses[] = DI::mstdnStatus()->createFromUriId($item['uri-id'], $item['uid']);
} }
DBA::close($items); DBA::close($items);