1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[ticket/12382] Allow nested loops in included files.

They have to reference the fully qualified loop name in BEGIN and END.

PHPBB3-12382
This commit is contained in:
Nils Adermann
2014-05-03 00:13:06 +02:00
parent 936518d201
commit d18f19a3bb
3 changed files with 13 additions and 7 deletions

View File

@@ -1,2 +1,2 @@
[{event_loop.S_ROW_COUNT}<!-- BEGIN subloop -->[subloop:{event_loop.subloop.S_ROW_COUNT}]
<!-- END subloop -->]
[{event_loop.S_ROW_COUNT}<!-- BEGIN event_loop.subloop -->[subloop:{event_loop.subloop.S_ROW_COUNT}]
<!-- END event_loop.subloop -->]

View File

@@ -102,7 +102,6 @@ Zeta test event in all',
),
array(),
'event_loop[0[subloop:0]]',
'Event files are missing opened parent loops: PHPBB3-12382',
),
);
}