diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-09-02 16:35:42 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-09-02 16:35:42 -0500 |
commit | c8d5ec892745f9bfc784cd8f7f632fee4a371ff7 (patch) | |
tree | daf2964270f98f5f1b7ab31df513e6fec4c5de1b /tests/template | |
parent | 5ddb0ba629e4b31ada931240c661d3f4c43d8676 (diff) | |
download | forums-c8d5ec892745f9bfc784cd8f7f632fee4a371ff7.tar forums-c8d5ec892745f9bfc784cd8f7f632fee4a371ff7.tar.gz forums-c8d5ec892745f9bfc784cd8f7f632fee4a371ff7.tar.bz2 forums-c8d5ec892745f9bfc784cd8f7f632fee4a371ff7.tar.xz forums-c8d5ec892745f9bfc784cd8f7f632fee4a371ff7.zip |
[ticket/11812] Fix empty define
PHPBB3-11812
Diffstat (limited to 'tests/template')
-rw-r--r-- | tests/template/template_test.php | 2 | ||||
-rw-r--r-- | tests/template/templates/define.html | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/template/template_test.php b/tests/template/template_test.php index 38eb072df8..f2e3903458 100644 --- a/tests/template/template_test.php +++ b/tests/template/template_test.php @@ -158,7 +158,7 @@ class phpbb_template_template_test extends phpbb_template_template_test_case array(), array('test_loop' => array(array(), array(), array(), array(), array(), array(), array()), 'test' => array(array()), 'test.deep' => array(array()), 'test.deep.defines' => array(array())), array(), - "xyz\nabc\n\$VALUE == 'abc'abc\nbar\nbar\nabc\ntest!@#$%^&*()_-=+{}[]:;\",<.>/?", + "xyz\nabc\n\$VALUE == 'abc'abc\nbar\nbar\nabc\ntest!@#$%^&*()_-=+{}[]:;\",<.>/?\n[]", ), array( 'define_advanced.html', diff --git a/tests/template/templates/define.html b/tests/template/templates/define.html index 66e874ca63..e6c8ef49c9 100644 --- a/tests/template/templates/define.html +++ b/tests/template/templates/define.html @@ -14,3 +14,5 @@ $VALUE == 'abc' {$VALUE} <!-- DEFINE $VALUE = 'test!@#$%^&*()_-=+{}[]:;",<.>/?' --> {$VALUE} +<!-- DEFINE $VALUE = '' --> +[{$VALUE}] |