From 21a02ee9f91d173914f1f7fe19b1f3f7fb90ebf6 Mon Sep 17 00:00:00 2001 From: Chris Leppanen <chris.leppanen@gmail.com> Date: Wed, 10 Oct 2012 11:47:39 -0700 Subject: [PATCH] Issue #1807920 by Rob_Feature: Fixed Imported nodes have NULL format. --- mappers/text.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mappers/text.inc b/mappers/text.inc index 3e51ffc5..48447d7b 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++; } } -- GitLab