From: Andrew Hunt Date: Thu, 3 Dec 2015 19:44:41 +0000 (-0500) Subject: CRM-17658 PDFs: rename pdf-header region to export-document-header X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7419f31d52b503aa3acd117351faf197d7f10ac9;p=civicrm-core.git 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 --- 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 = "