浏览代码

Fix incorrect method name case.

Justin Hileman 9 年之前
父节点
当前提交
1de7898200
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Mustache/Compiler.php

+ 1 - 1
src/Mustache/Compiler.php

@@ -456,7 +456,7 @@ class Mustache_Compiler
     const PARENT = '
         %s
 
-        if ($parent = $this->mustache->LoadPartial(%s)) {
+        if ($parent = $this->mustache->loadPartial(%s)) {
             $context->pushBlockContext($newContext);
             $buffer .= $parent->renderInternal($context, $indent);
             $context->popBlockContext();