Commit bc37cb11 authored by fietserwin's avatar fietserwin Committed by fago

Issue #2013473 by fietserwin: Title attribute of image field not listed as possible token.

parent 967773eb
......@@ -164,7 +164,7 @@ function entity_metadata_field_image_callback(&$info, $entity_type, $field, $ins
if (empty($instance['settings']['alt_field'])) {
unset($property['property info']['alt']);
}
if (empty($field['settings']['title_field'])) {
if (empty($instance['settings']['title_field'])) {
unset($property['property info']['title']);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment