Add feedback / revert fix for $item['post-type']

This commit is contained in:
Philipp 2021-09-15 08:48:41 +02:00
parent 462f76352e
commit 6893e2c3f7
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
2 changed files with 2 additions and 3 deletions

View file

@ -2259,7 +2259,7 @@ class Item
$condition[0] .= " AND `received` < UTC_TIMESTAMP() - INTERVAL ? DAY";
$condition[] = $days;
$items = Post::select(['resource-id', 'starred', 'id', 'post-type', 'uid', 'uri-id', 'post-type'], $condition);
$items = Post::select(['resource-id', 'starred', 'id', 'post-type', 'uid', 'uri-id'], $condition);
if (!DBA::isResult($items)) {
return;