diff --git a/includes/ParserIcalFeedsParser.inc b/includes/ParserIcalFeedsParser.inc index fdc7534..d3de34f 100644 --- a/includes/ParserIcalFeedsParser.inc +++ b/includes/ParserIcalFeedsParser.inc @@ -96,10 +96,10 @@ class ParserIcalDateTimeElement extends FeedsDateTimeElement { // merge!? $field = field_info_field($field_name); // is it always 'und' why is it 'und'? - $node_field = $node->{$field_name}['und'][0]; + $node_field = $node->{$field_name}[LANGUAGE_NONE][0]; $values = date_repeat_build_dates(NULL, $this->repeat_vals, $field, $node_field); foreach ($values as $value) { - $node->{$field_name}['und'][] = $value; + $node->{$field_name}[LANGUAGE_NONE][] = $value; } } }