diff --git a/entityreference_prepopulate.module b/entityreference_prepopulate.module index 2a25682..adc6fb9 100644 --- a/entityreference_prepopulate.module +++ b/entityreference_prepopulate.module @@ -67,9 +67,9 @@ function entityreference_prepopulate_field_default_value($entity_type, $entity, * Default value callback for Organic groups; Filter results by field-mode. */ function entityreference_prepopulate_og_field_default_value($entity_type, $entity, $field, $instance, $langcode) { - if (empty($instance['field_mode'])) { - return; - } +// if (empty($instance['field_mode'])) { +// return; +// } if ($items = entityreference_prepopulate_get_values($field, $instance)) { // Filter out the items that don't match the field-mode. $gids = array();