diff --git a/mappers/text.inc b/mappers/text.inc index 3e51ffc500fe6fdb902ad007a6490b22d43b552d..48447d7b7a68b53b566d4cad828aa16909c9dfc6 100644 --- a/mappers/text.inc +++ b/mappers/text.inc @@ -66,11 +66,12 @@ function text_feeds_set_target($source, $entity, $target, $value) { if (is_scalar($v)) { $field['und'][$delta]['value'] = $v; - $delta++; if (isset($format)) { $field['und'][$delta]['format'] = $format; } + + $delta++; } }