From c5660ed177d05cd1139546833b2888115ec15ce8 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sat, 3 May 2014 00:20:37 +0200 Subject: [PATCH] [ticket/12382] Event loop nesting inclusion applies to regular includes too PHPBB3-12382 --- tests/template/template_test.php | 1 - tests/template/templates/loop_nested_include1.html | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/template/template_test.php b/tests/template/template_test.php index 49804c26c5..0d19e7afd1 100644 --- a/tests/template/template_test.php +++ b/tests/template/template_test.php @@ -330,7 +330,6 @@ class phpbb_template_template_test extends phpbb_template_template_test_case array(), "[bar|[bar|]][bar1|[bar1|[bar1|works]]]", array(), - 'Included files are missing opened parent loops: PHPBB3-12382', ), /* Does not pass with the current implementation. array( diff --git a/tests/template/templates/loop_nested_include1.html b/tests/template/templates/loop_nested_include1.html index 0f1a180b4d..88efffc99c 100644 --- a/tests/template/templates/loop_nested_include1.html +++ b/tests/template/templates/loop_nested_include1.html @@ -1,5 +1,5 @@ [{test_loop.foo}| - + [{test_loop.foo}| {test_loop.inner.myinner}] -] +]