]> git.wh0rd.org - tt-rss.git/commitdiff
do not discard custom set article tags when updating from source
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Mon, 7 Dec 2015 08:54:24 +0000 (11:54 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Mon, 7 Dec 2015 08:54:24 +0000 (11:54 +0300)
include/rssfuncs.php

index 115d9c9c2ce1cd4379e9b95461feaf5120f40e6e..8dfdbf01fd10ac40898053b600f3e4034921c318 100755 (executable)
                                        $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 = "";