fix Issue 10346 - No line number error with undefined template identifier
Merge pull request #2174 from 9rnsr/fix10346

Issue 10346 - No line number error with undefined template identifier