From 7419f31d52b503aa3acd117351faf197d7f10ac9 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 0ae94ed5ff..50419c6969 100644 --- a/CRM/Utils/PDF/Utils.php +++ b/CRM/Utils/PDF/Utils.php @@ -86,7 +86,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