Commit 859f120a authored by frjo's avatar frjo
Browse files

#983050: PHP notice fixin theme_colorbox_image_formatter().

parent 9069595d
......@@ -35,7 +35,7 @@ function theme_colorbox_image_formatter($variables) {
if (!empty($image['alt'])) {
$image['title'] = $image['alt'];
}
elseif (!empty($node)) {
elseif (!empty($node->title)) {
$image['title'] = $node->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