소스 검색

fix for when loader is not defined

Matt DeClaire 12 년 전
부모
커밋
5a3802e2a6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;