summaryrefslogtreecommitdiff
path: root/include/rssfuncs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-12-07 11:54:24 +0300
committerAndrew Dolgov <[email protected]>2015-12-07 11:54:24 +0300
commita8ac766132fe940b9824b279c62ae924de0a6c10 (patch)
treee647b9bd6b1ede58c746140586b5f00596a48d33 /include/rssfuncs.php
parentc4d0e0806022c7d1ebef44d70bfe9332d6ab756e (diff)
do not discard custom set article tags when updating from source
Diffstat (limited to 'include/rssfuncs.php')
-rwxr-xr-xinclude/rssfuncs.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index 115d9c9c2..8dfdbf01f 100755
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -700,6 +700,10 @@
$entry_stored_hash = db_fetch_result($result, 0, "content_hash");
$article_labels = get_article_labels($base_entry_id, $owner_uid);
$entry_language = db_fetch_result($result, 0, "lang");
+
+ $existing_tags = get_article_tags($base_entry_id);
+ $entry_tags = array_unique(array_merge($entry_tags, $existing_tags));
+
} else {
$base_entry_id = false;
$entry_stored_hash = "";