From ef4e6b9aedb7ffd058220de2d8ab2b44b1447d00 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 13 Aug 2014 14:34:12 +0200 Subject: Cleanup after PR merge, updated changelog --- program/lib/Roundcube/rcube_image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program/lib/Roundcube/rcube_image.php') diff --git a/program/lib/Roundcube/rcube_image.php b/program/lib/Roundcube/rcube_image.php index 565e9db0e..122b5f48a 100644 --- a/program/lib/Roundcube/rcube_image.php +++ b/program/lib/Roundcube/rcube_image.php @@ -206,10 +206,10 @@ class rcube_image $image = $new_image; // fix rotation of image if EXIF data exists and specifies rotation (GD strips the EXIF data) - if ($this->image_file && function_exists(exif_read_data) ) { + if ($this->image_file && function_exists('exif_read_data')) { $exif = exif_read_data($this->image_file); if ($exif && $exif['Orientation']) { - switch($exif['Orientation']) { + switch ($exif['Orientation']) { case 3: $image = imagerotate($image, 180, 0); break; -- cgit v1.2.3