Commit bd1f8b3a authored by jaapjansma's avatar jaapjansma

Fixed issue with create pdf and parameter spec

parent 7e7dd95f
......@@ -37,7 +37,8 @@ class CreatePdf extends AbstractAction {
$this->messages[] = $processedMessage;
$pdfContents = \CRM_Utils_PDF_Utils::html2pdf(array($processedMessage), $fileNameWithoutContactId, TRUE);
$text = array($processedMessage);
$pdfContents = \CRM_Utils_PDF_Utils::html2pdf($text, $fileNameWithoutContactId, TRUE);
if ($this->currentBatch && $this->zip) {
$this->zip->addFromString($filenameWithContactId, $pdfContents);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment