Projet

Général

Profil

Révision 5e632cae

Ajouté par Assos Assos il y a plus de 3 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/field_collection/ctools/relationships/field_collection_from_field.inc
88 88
    }
89 89

  
90 90
    if (!empty($items) && isset($items[$delta]['value'])) {
91
      $field_collection_item = field_collection_item_load($items[$delta]['value']);
91
      return ctools_context_create('entity:field_collection_item', $items[$delta]['value']);
92 92
    }
93

  
94
    return ctools_context_create('entity:field_collection_item', $items[$delta]['value']);
95 93
  }
96 94

  
97 95
  return ctools_context_create_empty('entity:field_collection_item', NULL);

Formats disponibles : Unified diff