Skip to content

Commit

Permalink
Fix issue with template path retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Jul 18, 2016
1 parent c06ffe7 commit 2d6f947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/ExcelView.php
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2d6f947

Please sign in to comment.