mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
calling fetch_post_tags() will add duplicate items here
This commit is contained in:
@@ -5291,7 +5291,8 @@ function addToCollectionAndSync($ret) {
|
||||
}
|
||||
|
||||
xchan_query($items);
|
||||
$items = fetch_post_tags($items);
|
||||
// TODO: fetch_post_tags() will add term and iconfig twice if called twice and it looks like they are already added here
|
||||
// $items = fetch_post_tags($items);
|
||||
$sync_items = [];
|
||||
$sync_items[] = encode_item($items[0], true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user