From 428630d3a9424265b9a48f9053d41323f6b04095 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 27 Aug 2011 04:21:04 -0400 Subject: - Patch #1124786 by zambrey: fixed notice --- modules/image/image.field.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/image/image.field.inc b/modules/image/image.field.inc index 43e118a70..10d385da7 100644 --- a/modules/image/image.field.inc +++ b/modules/image/image.field.inc @@ -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. -- cgit v1.2.3