mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
compile_tag_if had the flawed approach of adding an isset statement for all variables to the beginning of the if. This fails for negative expressions, and checking those takes a considerable effort. The easier solution is to make the variable expression itself conditional, defaulting to null if it is not set. Thanks to naderman for the solution. PHPBB3-9726
12 lines
173 B
HTML
12 lines
173 B
HTML
<!-- IF S_VALUE -->
|
|
1
|
|
<!-- ELSEIF S_OTHER_VALUE -->
|
|
2
|
|
<!-- ELSE -->
|
|
03
|
|
<!-- ENDIF -->
|
|
|
|
<!-- IF S_VALUE and S_OTHER_VALUE and (S_VALUE > S_OTHER_VALUE) -->
|
|
04
|
|
<!-- ENDIF -->
|