Explorar o código

fix for when loader is not defined

Matt DeClaire %!s(int64=12) %!d(string=hai) anos
pai
achega
5a3802e2a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Mustache/Engine.php

+ 1 - 1
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;