Lukas W.
Well-known member
- Affected version
 - 2.1.3
 
It appears ternary operators are preceding logic operators in template syntax evaluation.
The code
				
			The code
{{ $boolVal1 || $boolVal2 ? 'a' : 'b' }} results in 1 rather than the expected a or b output. Only parenthesizing the expression to {{ ($boolVal1 || $boolVal2) ? 'a' : 'b' }} will yield the expected result.