fix for when loader is not defined

This commit is contained in:
Matt DeClaire
2013-03-12 15:14:07 -07:00
committed by Justin Hileman
parent 62435a5705
commit 5a3802e2a6
+1 -1
View File
@@ -226,7 +226,7 @@ class Mustache_Engine
public function getPartialsLoader() public function getPartialsLoader()
{ {
if (!isset($this->partialsLoader)) { if (!isset($this->partialsLoader)) {
$this->partialsLoader = $this->loader; $this->partialsLoader = $this->getLoader();
} }
return $this->partialsLoader; return $this->partialsLoader;