Commit aca1d4bf authored by Dries's avatar Dries

- Patch #1124786 by zambrey: fixed notice

parent 911d6fa9
......@@ -547,7 +547,7 @@ function theme_image_formatter($variables) {
$output = theme('image', $image);
}
if ($variables['path']) {
if (!empty($variables['path']['path'])) {
$path = $variables['path']['path'];
$options = $variables['path']['options'];
// When displaying an image inside a link, the html option must be TRUE.
......
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