mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01:00
Merge remote-tracking branch 'vsephpbb/ticket/7580' into develop
* vsephpbb/ticket/7580: [ticket/7580] Add test for IF {VAR} is defined in templates
This commit is contained in:
commit
6fba2c6778
@ -90,6 +90,13 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
|
||||
array(),
|
||||
'03!false',
|
||||
),
|
||||
array(
|
||||
'if.html',
|
||||
array('VALUE_TEST' => 'value'),
|
||||
array(),
|
||||
array(),
|
||||
'03!falsevalue',
|
||||
),
|
||||
array(
|
||||
'loop.html',
|
||||
array(),
|
||||
|
@ -19,3 +19,7 @@ false
|
||||
<!-- IF S_TEST !== false -->
|
||||
!false
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF VALUE_TEST is defined -->
|
||||
{VALUE_TEST}
|
||||
<!-- ENDIF -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user