فهرست منبع

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;