From fa1f31cfb0f8c1e4fdcf4e457926611b50dbf463 Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Thu, 3 Dec 2015 14:44:41 -0500 Subject: [PATCH] CRM-17658 PDFs: rename pdf-header region to export-document-header ---------------------------------------- * CRM-17658: Can't alter header of PDF report https://issues.civicrm.org/jira/browse/CRM-17658 --- CRM/Utils/PDF/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/PDF/Utils.php b/CRM/Utils/PDF/Utils.php index 45421a5ca3..7088d6066c 100644 --- a/CRM/Utils/PDF/Utils.php +++ b/CRM/Utils/PDF/Utils.php @@ -88,7 +88,7 @@ class CRM_Utils_PDF_Utils { $config = CRM_Core_Config::singleton(); // Add a special region for the HTML header of PDF files: - $pdfHeaderRegion = CRM_Core_Region::instance('pdf-header', FALSE); + $pdfHeaderRegion = CRM_Core_Region::instance('export-document-header', FALSE); $htmlHeader = ($pdfHeaderRegion) ? $pdfHeaderRegion->render('', FALSE) : ''; $html = " -- 2.25.1