diff --git a/html/sites/all/modules/contrib/responsive_images/responsive_images.module b/html/sites/all/modules/contrib/responsive_images/responsive_images.module
index 6f38a43..18dcff3 100644
--- a/html/sites/all/modules/contrib/responsive_images/responsive_images.module
+++ b/html/sites/all/modules/contrib/responsive_images/responsive_images.module
@@ -253,7 +253,7 @@ function theme_responsive_images_formatter($variables) {
 
 	$output = theme('responsive_image', $image);
 
-  if ($variables['path']) {
+  if (!empty($variables['path'])) {
     $path = $variables['path']['path'];
     $options = $variables['path']['options'];
     // When displaying an image inside a link, the html option must be TRUE.
