ソースを参照

referencing nodes by class constant rather than string literal

Dan Miller 12 年 前
コミット
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;