Forráskód Böngészése

fix for when loader is not defined

Matt DeClaire 12 éve
szülő
commit
5a3802e2a6
1 módosított fájl, 1 hozzáadás és 1 törlés
  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;