summaryrefslogtreecommitdiff
path: root/modules/image
diff options
context:
space:
mode:
Diffstat (limited to 'modules/image')
-rw-r--r--modules/image/image.field.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/image/image.field.inc b/modules/image/image.field.inc
index 813a1e2fc..671929666 100644
--- a/modules/image/image.field.inc
+++ b/modules/image/image.field.inc
@@ -477,7 +477,7 @@ function theme_field_formatter_image($variables) {
*/
function theme_field_formatter_image_link_content($variables) {
$element = $variables['element'];
- list($id, $vid, $bundle) = field_extract_ids($element['#object_type'], $element['#object']);
+ list($id, $vid, $bundle) = entity_extract_ids($element['#object_type'], $element['#object']);
return l(theme('field_formatter_image', $variables), $element['#object_type'] . '/' . $id, array('html' => TRUE));
}