From d8761441b1d46ae8e299a919e536fc86338ab7c9 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 31 Aug 2016 12:10:26 +0200 Subject: [PATCH] * Mail: Fix pdf attachments do not get downloaded in mobile template --- api/src/Link.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Link.php b/api/src/Link.php index 64573784b3..1ed09b009f 100644 --- a/api/src/Link.php +++ b/api/src/Link.php @@ -200,7 +200,7 @@ class Link extends Link\Storage if (Header\UserAgent::type() == 'firefox' && $GLOBALS['egw_info']['user']['preferences']['common']['theme'] == 'mobile' || Header\UserAgent::mobile()) { - unset(self::$app_register['home']['mime']['application/pdf']); + unset(self::$app_register['api']['mime']['application/pdf']); } // other apps can participate in the linking by implementing a search_link hook, which // has to return an array in the format of an app_register entry