Commit 0da7356e authored by frjo's avatar frjo
Browse files

Issue #1412614 by David Lesieur: Patch to clear tokens that do not have a replacement value.

parent 5d06363f
......@@ -67,6 +67,7 @@ function theme_colorbox_image_formatter($variables) {
$caption = token_replace($settings['colorbox_caption_custom'], array(
$entity_type => $entity,
'file' => (object) $item,
'clear' => TRUE,
));
break;
default:
......
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