Skip to content
Snippets Groups Projects
Commit d8b9d19e authored by Alex Barth's avatar Alex Barth
Browse files

#873198 BWPanda, morningtime: Import multiple values to tag vocabulary.

parent 493ed0f2
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
Feeds 6.x 1.0 XXXXXXXXXXXXXXXXXX Feeds 6.x 1.0 XXXXXXXXXXXXXXXXXX
-------------------------------- --------------------------------
- #873198 BWPanda, morningtime: Import multiple values to tag vocabulary.
- #872772 andrewlevine: Fix buildNode() (and node_load()) called unnecessarily. - #872772 andrewlevine: Fix buildNode() (and node_load()) called unnecessarily.
- #873240 thsutton: Use isset() to avoid notices. - #873240 thsutton: Use isset() to avoid notices.
- #878528 Sutharsan: Don't show file in UI if file does not exist. - #878528 Sutharsan: Don't show file in UI if file does not exist.
......
...@@ -58,6 +58,7 @@ function taxonomy_feeds_set_target(&$node, $key, $terms) { ...@@ -58,6 +58,7 @@ function taxonomy_feeds_set_target(&$node, $key, $terms) {
if ($vocab->tags) { if ($vocab->tags) {
// Simply add a comma separated list to the node for a "tags" vocabulary. // Simply add a comma separated list to the node for a "tags" vocabulary.
$terms = array_merge($terms, drupal_explode_tags($node->taxonomy['tags'][$vocab->vid]));
$node->taxonomy['tags'][$vocab->vid] = implode(',', $terms); $node->taxonomy['tags'][$vocab->vid] = implode(',', $terms);
} }
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment