From 82b8fbdb483173b151fdb098ffe74e875c475c21 Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 28 Jun 2019 14:24:02 +1200 Subject: [PATCH] Remove options for output other than pdf as they are not working This stops this issue from being a blocker & makes it an optional later improvement --- CRM/Activity/Form/Task/PDF.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CRM/Activity/Form/Task/PDF.php b/CRM/Activity/Form/Task/PDF.php index b64ed66406..c8f7631b45 100644 --- a/CRM/Activity/Form/Task/PDF.php +++ b/CRM/Activity/Form/Task/PDF.php @@ -58,6 +58,11 @@ class CRM_Activity_Form_Task_PDF extends CRM_Activity_Form_Task { */ public function buildQuickForm() { CRM_Activity_Form_Task_PDFLetterCommon::buildQuickForm($this); + // Remove types other than pdf as they are not working (have never worked) and don't want fix + // for them to block pdf. + // @todo debug & fix.... + $this->add('select', 'document_type', ts('Document Type'), ['pdf' => ts('Portable Document Format (.pdf)')]); + } /** -- 2.25.1