mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge remote-tracking branch 'EXreaction/ticket/11816-2' into develop
* EXreaction/ticket/11816-2: [ticket/11816] Fix multiple parenthesis as well before $VARs in templates
This commit is contained in:
@@ -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'\n(\$VALUE == 'abc')\n!\$DOESNT_EXIST\n(!\$DOESNT_EXIST)\nabc\nbar\nbar\nabc\ntest!@#$%^&*()_-=+{}[]:;\",<.>/?[]|foobar|",
|
||||
"xyz\nabc\n\$VALUE == 'abc'\n(\$VALUE == 'abc')\n((\$VALUE == 'abc'))\n!\$DOESNT_EXIST\n(!\$DOESNT_EXIST)\nabc\nbar\nbar\nabc\ntest!@#$%^&*()_-=+{}[]:;\",<.>/?[]|foobar|",
|
||||
),
|
||||
array(
|
||||
'define_advanced.html',
|
||||
|
@@ -10,6 +10,9 @@ $VALUE == 'abc'
|
||||
<!-- IF ($VALUE == 'abc') -->
|
||||
($VALUE == 'abc')
|
||||
<!-- ENDIF -->
|
||||
<!-- IF (($VALUE == 'abc')) -->
|
||||
(($VALUE == 'abc'))
|
||||
<!-- ENDIF -->
|
||||
<!-- IF !$DOESNT_EXIST -->
|
||||
!$DOESNT_EXIST
|
||||
<!-- ENDIF -->
|
||||
|
Reference in New Issue
Block a user