summaryrefslogtreecommitdiff
path: root/program/steps/mail/show.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-06 16:18:36 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-06 16:18:36 +0200
commit8968f9543fb52b1196a4627ab1ccf777f50c7be9 (patch)
tree561116acd80f6319501249264856aee324cf441e /program/steps/mail/show.inc
parentd004009ebbf55d20cfeacfb48812563650b97bab (diff)
Support image operations with Imagick extension (#1489734)
Diffstat (limited to 'program/steps/mail/show.inc')
-rw-r--r--program/steps/mail/show.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index 9498d1dc5..beb2cc6e9 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -102,7 +102,7 @@ if ($uid) {
}
if (empty($_SESSION['browser_caps']['tif']) && ($key = array_search('image/tiff', $mimetypes)) !== false) {
// we can convert tiff to jpeg
- if (!$RCMAIL->config->get('im_convert_path')) {
+ if (!rcube_image::is_convertable('image/tiff')) {
unset($mimetypes[$key]);
}
}