mirror of
https://github.com/friendica/friendica
synced 2025-05-05 15:44:10 +02:00
"id" is now post-user-id
This commit is contained in:
parent
6e1483545e
commit
36357e790e
9 changed files with 76 additions and 63 deletions
|
@ -55,9 +55,10 @@ class APDelivery
|
|||
}
|
||||
|
||||
if (empty($uri_id) && !empty($item_id)) {
|
||||
$item = Post::selectFirst(['uri-id'], ['id' => $item_id]);
|
||||
$item = Post::selectFirst(['uri-id', 'id'], ['item-id' => $item_id]);
|
||||
if (!empty($item['uri-id'])) {
|
||||
$uri_id = $item['uri-id'];
|
||||
$item_id = $item['id'];
|
||||
}
|
||||
} elseif (!empty($uri_id) && !empty($item_id)) {
|
||||
$item = Post::selectFirst(['id'], ['uri-id' => $uri_id, 'uid' => $uid]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue