diff --git a/plugins/explode.inc b/plugins/explode.inc index 8e78fbd..7fb1e42 100644 --- a/plugins/explode.inc +++ b/plugins/explode.inc @@ -47,7 +47,12 @@ function feeds_tamper_explode_validate(&$settings) { function feeds_tamper_explode_callback($result, $item_key, $element_key, &$field, $settings, $source) { if (!is_array($field)) { - $field = array($field); + if (!empty($field)) { + $field = array($field); + } + else { + return; + } } $out = array(); foreach ($field as $f) {