summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-08-27 04:21:04 -0400
committerDries Buytaert <dries@buytaert.net>2011-08-27 04:21:04 -0400
commit428630d3a9424265b9a48f9053d41323f6b04095 (patch)
tree4d96ea25f765071309a8966d0ee1ed9b6775cf9d /modules
parentdae4d602ff630c9db1f4b9cda9f88d200d52d080 (diff)
downloadbrdo-428630d3a9424265b9a48f9053d41323f6b04095.tar.gz
brdo-428630d3a9424265b9a48f9053d41323f6b04095.tar.bz2
- Patch #1124786 by zambrey: fixed notice
Diffstat (limited to 'modules')
-rw-r--r--modules/image/image.field.inc2
1 files changed, 1 insertions, 1 deletions
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.