21293 Posts in 5733 Topics by 2602 members
| Go to End | ||
| Author | Topic: | 1263 Views |
-
Re: or clause

7 May 2011 at 5:23am
@ajshort -- This does not work for me.
<% if Prop1 || Prop2 || Prop3 || Prop4 %>
...do something
<% end_if %>throws PHP error, Parse error: syntax error, unexpected T_ELSE
Did the SS implementation change since last year that would make this stop working?
-
Re: or clause

7 May 2011 at 2:44pm
@johnmblack for 2.4 you can only a single or clause - prop1 || prop2 should would but you can't include any more. This has been changed in 3.0 to support 2 or more.
| 1263 Views | ||
| Go to Top |



