From 2d6f947e731802738a66c170b0fd78d0fe5d0ab0 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 18 Jul 2016 04:37:03 -0400 Subject: [PATCH] Fix issue with template path retrieval --- src/View/ExcelView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/View/ExcelView.php b/src/View/ExcelView.php index 9bb2eae..5e59966 100644 --- a/src/View/ExcelView.php +++ b/src/View/ExcelView.php @@ -50,7 +50,7 @@ public function __construct( EventManager $eventManager = null, array $viewOptions = [] ) { - if (!empty($viewOptions['templatePath'])) { + if (!empty($viewOptions['templatePath']) && $viewOptions['templatePath'] == '/xlsx') { $this->subDir = null; }