Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
2011.10
-
None
Description
Hi,
a very old problem is annoying me:
{if and( ezhttp_hasvariable( 'gwfmobiledevicecheck', 'cookie' ), ezhttp( 'gwfmobiledevicecheck', 'cookie' )|int|eq(1) )}
This writes an error entry in the error.log because the cookie doesn't exists. I would expect that if the first one already returns false, the second isn't executed.
The only way to avoid this is changing this into:
{if ezhttp_hasvariable( 'gwfmobiledevicecheck', 'cookie' )} {if ezhttp( 'gwfmobiledevicecheck', 'cookie' )|int|eq(1)}
Best wishes,
Georg.