Merge pull request #22635 from eileenmcnaughton/trait
[civicrm-core.git] / CRM / Mailing / Form / Task / Print.php
index 217d4cf67ff236d16f66044d9a1090cde747b81d..6cc8f2eb2d50639ce9d146b60aa48115a3b65081 100644 (file)
@@ -27,7 +27,7 @@ class CRM_Mailing_Form_Task_Print extends CRM_Mailing_Form_Task {
     parent::preprocess();
 
     // set print view, so that print templates are called
-    $this->controller->setPrint(1);
+    $this->controller->setPrint(CRM_Core_Smarty::PRINT_PAGE);
 
     // get the formatted params
     $queryParams = $this->get('queryParams');