calling fetch_post_tags() will add duplicate items here

This commit is contained in:
Mario Vavti
2025-02-01 01:02:06 +01:00
parent dc076a4c00
commit 0a17b83578

View File

@@ -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);