浏览代码

referencing nodes by class constant rather than string literal

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

+ 1 - 1
src/Mustache/Compiler.php

@@ -106,7 +106,7 @@ class Mustache_Compiler
                         $node[Mustache_Tokenizer::NAME],
                         isset($node[Mustache_Tokenizer::INDENT]) ? $node[Mustache_Tokenizer::INDENT] : '',
                         $level,
-                        $node['nodes']
+                        $node[Mustache_Tokenizer::NODES]
                     );
                     break;