From 5a3802e2a6c23d58bf20993eb00755a90e239a26 Mon Sep 17 00:00:00 2001 From: Matt DeClaire Date: Fri, 15 Feb 2013 10:07:40 -0800 Subject: [PATCH] fix for when loader is not defined --- src/Mustache/Engine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mustache/Engine.php b/src/Mustache/Engine.php index b892eef..62309d2 100644 --- a/src/Mustache/Engine.php +++ b/src/Mustache/Engine.php @@ -226,7 +226,7 @@ class Mustache_Engine public function getPartialsLoader() { if (!isset($this->partialsLoader)) { - $this->partialsLoader = $this->loader; + $this->partialsLoader = $this->getLoader(); } return $this->partialsLoader;