From baef0a228b7c8dc1a2733d987afe67939303a451 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Mon, 31 Oct 2016 11:16:35 +0100 Subject: [PATCH] Fix missing default template --- build.xml | 1 + src/PHPDraft/Out/TemplateGenerator.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.xml b/build.xml index d64b209c..d8351bb4 100644 --- a/build.xml +++ b/build.xml @@ -57,6 +57,7 @@ + diff --git a/src/PHPDraft/Out/TemplateGenerator.php b/src/PHPDraft/Out/TemplateGenerator.php index e196310c..a51404f3 100644 --- a/src/PHPDraft/Out/TemplateGenerator.php +++ b/src/PHPDraft/Out/TemplateGenerator.php @@ -90,7 +90,7 @@ public function get($object) } if (stream_resolve_include_path($this->template . '.phtml')) { - $include = $this->template . '.php'; + $include = $this->template . '.phtml'; } if (stream_resolve_include_path('PHPDraft/Out/HTML/' . $this->template . '.phtml')) {