Commit 7d89bc95 authored by J P's avatar J P Committed by Erwin Derksen
Browse files

[#3255527] by loze, fietserwin: Notice: Undefined property:...

[#3255527] by loze, fietserwin: Notice: Undefined property: stdClass::$extension in image_imagemagick_imagecache_autorotate().
parent 427ba4fe
Loading
Loading
Loading
Loading
+5
Changes for CHANGELOG.txt: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -4,6 +4,11 @@ Imagecache Actions
Imagecache Actions 7.x-1.x-dev
------------------------------

Imagecache Actions 7.x-1.13
---------------------------
- [#3255527] by loze, fietserwin: Notice: Undefined property:
  stdClass::$extension in image_imagemagick_imagecache_autorotate().

Imagecache Actions 7.x-1.12
---------------------------
- [#3151871]: by DamienMcKenna: EXIF autorotate support for remote images.
+1 −1
Changes for autorotate/imagecache_autorotate.module: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -229,7 +229,7 @@ function image_imagemagick_imagecache_autorotate(stdClass $image) {
          break;
      }
    }
    elseif ($exif === FALSE && $image->extension === 'jpg') {
    elseif ($exif === FALSE && $image->info['extension'] === 'jpg') {
      watchdog('imagecache_actions', 'Image %file could not be auto-rotated: !message', array('%file' => $image->source, '!message' => t('The exif_read_data() function returned FALSE.')));
    }
  }