Hi Dragonwolf!
I don’t think if blocks accept a string containing @. At least I’m sure they don’t accept accented chars or spaces…
Hope it helps,
Juan
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi Dragonwolf!
I don’t think if blocks accept a string containing @. At least I’m sure they don’t accept accented chars or spaces…
Hope it helps,
Juan
Good to know, thanks!
Seems odd that it wouldn't accept the @ symbol, as that's part of the standard ACSII/UTF-8 sequences (the accented characters, at least, are only part of the extended ACII). Perhaps part of the issue is that it doesn't make use of single or double quotes to determine the contents of a string, as most languages do?