Explorar el Código

referencing nodes by class constant rather than string literal

Dan Miller hace 11 años
padre
commit
c6c67ce609
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;