diff --git a/plugins/entityreference/selection/OgSelectionHandler.class.php b/plugins/entityreference/selection/OgSelectionHandler.class.php index cf7b705..38b28b8 100644 --- a/plugins/entityreference/selection/OgSelectionHandler.class.php +++ b/plugins/entityreference/selection/OgSelectionHandler.class.php @@ -186,7 +186,7 @@ class OgSelectionHandler extends EntityReference_SelectionHandler_Generic { return array(); } // Don't try to validate the IDs. - if (!$ids = entityreference_prepopulate_get_values($this->field, $this->instance, TRUE, FALSE)) { + if (!$ids = entityreference_prepopulate_get_url_or_cached_values($this->field['field_name'], $this->instance)) { return array(); } $node_type = $this->instance['bundle'];