1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[feature/template-engine] Corrected an off-by-one error in nested namespaces.

This error resulted in a dot from the namespace being placed into
variable reference in compiled template code, thus creating bogus
compiled template code.

PHPBB3-9726
This commit is contained in:
Oleg Pudeyev
2011-04-24 22:46:34 -04:00
parent e10d62badc
commit 5afc0b9b90
4 changed files with 29 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
top-level content
<!-- BEGIN outer -->
outer content
outer {outer.VARIABLE}
<!-- BEGIN inner -->
inner content
inner {inner.VARIABLE}
<!-- IF outer.inner.S_FIRST_ROW -->
first row
<!-- ENDIF -->