projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78b06a3
)
CRM-17658 PDFs: rename pdf-header region to export-document-header
author
Andrew Hunt
<andrew@aghstrategies.com>
Thu, 3 Dec 2015 19:44:41 +0000
(14:44 -0500)
committer
Andrew Hunt
<andrew@aghstrategies.com>
Thu, 3 Dec 2015 19:44:41 +0000
(14:44 -0500)
----------------------------------------
* CRM-17658: Can't alter header of PDF report
https://issues.civicrm.org/jira/browse/CRM-17658
CRM/Utils/PDF/Utils.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/PDF/Utils.php
b/CRM/Utils/PDF/Utils.php
index 0ae94ed5ffd07e26770a3e5b00c8d5daf9eef22f..50419c6969980f16b080cc59199d2da5d8ef8c36 100644
(file)
--- 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 = "