diff options
author | Mario Vavti <mario@mariovavti.com> | 2025-02-01 01:02:06 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2025-02-01 01:02:06 +0100 |
commit | 0a17b8357883c8d1d5683d961ed866ae99cea3bb (patch) | |
tree | 66ced46ba27618c00ee188e849983eaa03948339 | |
parent | dc076a4c003124719c15cd681bf0684710d0b93d (diff) | |
download | volse-hubzilla-0a17b8357883c8d1d5683d961ed866ae99cea3bb.tar.gz volse-hubzilla-0a17b8357883c8d1d5683d961ed866ae99cea3bb.tar.bz2 volse-hubzilla-0a17b8357883c8d1d5683d961ed866ae99cea3bb.zip |
calling fetch_post_tags() will add duplicate items here
-rw-r--r-- | include/items.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 03a21c73d..ff683260d 100644 --- a/include/items.php +++ b/include/items.php @@ -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); |