Fix capitalization
authorColeman Watts <coleman@civicrm.org>
Tue, 19 Jul 2016 17:00:30 +0000 (13:00 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 19 Jul 2016 17:00:30 +0000 (13:00 -0400)
CRM/Utils/PDF/Document.php

index d49547b1548f0b124cc0bb12d3ad72d59dd9790c..b2ecd6aede177f4d5f8eab9cc2c86ec193ba57ad 100644 (file)
@@ -155,7 +155,7 @@ class CRM_Utils_PDF_Document {
    *   [string, clsTbsZip]
    */
   public static function unzipDoc($filePath, $docType) {
-    $dataFile = SELF::$ooxmlMap[$docType]['dataFile'];
+    $dataFile = self::$ooxmlMap[$docType]['dataFile'];
 
     $zip = new clsTbsZip();
     $zip->Open($filePath);
@@ -181,7 +181,7 @@ class CRM_Utils_PDF_Document {
    * @return string
    */
   public static function printDocuments($filePath, $contents, $docType, $zip, $returnFinalContent = FALSE) {
-    $dataMap = SELF::$ooxmlMap[$docType];
+    $dataMap = self::$ooxmlMap[$docType];
 
     $finalContent = $zip->FileRead($dataMap['dataFile']);