Browse Source

Fix incorrect method name case.

Justin Hileman 9 years ago
parent
commit
1de7898200
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Mustache/Compiler.php

+ 1 - 1
src/Mustache/Compiler.php

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