summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-08-13 14:34:12 +0200
committerAleksander Machniak <alec@alec.pl>2014-08-13 14:34:12 +0200
commit4045cd9266766488500bf038f2360e3b146d6bdc (patch)
tree09d7ab60132c34f4129a9eeb2fca5cdd4dfcaff1 /program/lib
parent9275671174027db104936e050941e79ffcb9b3e7 (diff)
Cleanup after PR merge, updated changelog
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/Roundcube/rcube_image.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_image.php b/program/lib/Roundcube/rcube_image.php
index 62dc5fa96..d0d0c7437 100644
--- a/program/lib/Roundcube/rcube_image.php
+++ b/program/lib/Roundcube/rcube_image.php
@@ -229,10 +229,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;