aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-02-01 00:03:50 +0000
committerMario <mario@mariovavti.com>2025-02-01 00:03:50 +0000
commit546c4fcad2937f67c8b16560b0d16236f729d99c (patch)
treea2a52467bd43e75eb672cdd7a73e7dd94a63c720
parent2782b6d724f2770d96a20d7f33d2cb9480d3bcf3 (diff)
downloadvolse-hubzilla-546c4fcad2937f67c8b16560b0d16236f729d99c.tar.gz
volse-hubzilla-546c4fcad2937f67c8b16560b0d16236f729d99c.tar.bz2
volse-hubzilla-546c4fcad2937f67c8b16560b0d16236f729d99c.zip
calling fetch_post_tags() will add duplicate items here
(cherry picked from commit 0a17b8357883c8d1d5683d961ed866ae99cea3bb) Co-authored-by: Mario Vavti <mario@mariovavti.com>
-rw-r--r--include/items.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 965c816c4..3a979e457 100644
--- a/include/items.php
+++ b/include/items.php
@@ -5293,7 +5293,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);