From cdce1c501f753295299b976b7024ff76e7d282a4 Mon Sep 17 00:00:00 2001 From: Alan Thomson Date: Fri, 9 May 2014 15:35:10 +0100 Subject: [PATCH] so that PdfConfig['options'] is merged rather then replaced --- View/PdfView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/View/PdfView.php b/View/PdfView.php index 0f35285a..4ac15a6b 100644 --- a/View/PdfView.php +++ b/View/PdfView.php @@ -49,7 +49,7 @@ class PdfView extends View { public function __construct(Controller $Controller = null) { $this->_passedVars[] = 'pdfConfig'; parent::__construct($Controller); - $this->pdfConfig = array_merge( + $this->pdfConfig = array_merge_recursive( (array)Configure::read('Pdf'),//BC line, remove later @todo (array)Configure::read('CakePdf'), (array)$this->pdfConfig