Replace double quotes with single quote
authorDebarshi Bhaumik <debarshi@compucorp.co.uk>
Mon, 23 Aug 2021 07:36:37 +0000 (13:06 +0530)
committerDebarshi Bhaumik <debarshi@compucorp.co.uk>
Mon, 23 Aug 2021 07:36:37 +0000 (13:06 +0530)
CRM/Contact/Form/Task/PDFLetterCommon.php

index 393dae8b8750258d302b8d5896e453af24a108cb..c39513b6d7fd5cd0dec23659adfdffcf0d694ce9 100644 (file)
@@ -232,9 +232,9 @@ class CRM_Contact_Form_Task_PDFLetterCommon extends CRM_Core_Form_Task_PDFLetter
       $fileName = CRM_Utils_String::munge($form->getSubmittedValue('subject'), '_', 200);
     }
     else {
-      $fileName = "CiviLetter";
+      $fileName = 'CiviLetter';
     }
-    $fileName = self::isLiveMode($form) ? $fileName : $fileName . "_preview";
+    $fileName = self::isLiveMode($form) ? $fileName : $fileName . '_preview';
 
     return $fileName;
   }