diff --git a/src/Mustache/Parser.php b/src/Mustache/Parser.php index f44153c..81e5149 100644 --- a/src/Mustache/Parser.php +++ b/src/Mustache/Parser.php @@ -120,7 +120,7 @@ class Mustache_Parser if (isset($parent)) { $msg = sprintf( - 'Missing closing tag: %s opened on line %s', + 'Missing closing tag: %s opened on line %d', $parent[Mustache_Tokenizer::NAME], $parent[Mustache_Tokenizer::LINE] );