Loading rules_autotag.feeds.inc +9 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,15 @@ function rules_autotag_feeds_set_target($source, $entity, $target, $terms, $mapp $terms = array($terms); } // Filter empty strings. $terms = array_filter($terms, function ($term) { return $term !== ''; }); if (empty($terms)) { return; } // Cut off "rules_autotag_" from the beginning. $target = substr($target, 14); Loading Loading
rules_autotag.feeds.inc +9 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,15 @@ function rules_autotag_feeds_set_target($source, $entity, $target, $terms, $mapp $terms = array($terms); } // Filter empty strings. $terms = array_filter($terms, function ($term) { return $term !== ''; }); if (empty($terms)) { return; } // Cut off "rules_autotag_" from the beginning. $target = substr($target, 14); Loading