|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
bimal Smarty Elite
Joined: 19 Apr 2007 Posts: 423
|
Posted: Thu Jun 07, 2012 11:26 am Post subject: Double pipes mistake - {'text'||print} |
|
|
Probably it is the time to catch the double pipes as error.
The above link gives 1, (probably for true).
The above code might give error.
Please share your feelings. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Thu Jun 07, 2012 12:25 pm Post subject: |
|
|
As Smarty3 does allow expressions almost everywhere {'text'||print} is treated as such with '||' as logical all operator. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|