Index: relation.field.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/relation/relation.field.inc,v retrieving revision 1.4 diff -u -p -r1.4 relation.field.inc --- relation.field.inc 6 Dec 2010 03:27:01 -0000 1.4 +++ relation.field.inc 6 Dec 2010 06:37:02 -0000 @@ -51,9 +51,9 @@ function relation_field_presave($entity_ $relations[$item['other_entity_type']][$item['relation_id']] = $item['other_entity_id']; } - //$entity_relations describes relations from $entity. Generally, $entity_ - //describes the entity being saved, $other_ describes entities on the other - //end of the relation. + // $entity_relations describes relations from $entity. In general, $entity_ + // describes the entity being saved, $other_ describes entities on the other + // end of the relation. foreach ($relations as $other_type => $entity_relations) { $others = entity_load($other_type, $entity_relations); // @todo The else condition must not happen; implement hook_field_validate().