do not discard custom set article tags when updating from source

This commit is contained in:
Andrew Dolgov 2015-12-07 11:54:24 +03:00
parent c4d0e08060
commit a8ac766132
1 changed files with 4 additions and 0 deletions

View File

@ -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 = "";