Re: unlang Question about evaluating unavailable attributes to FALSE
17 May
2011
17 May
'11
6:49 a.m.
Stefan A. wrote:
if I'm using an expression like
if (control:VSA1=~/something/ || control:VSA2 =~/something_else/) {...}
I do get the information "(Attribute control:VSA1 was not found)" in case the VSA is not in the control context. As the condition is '||', I would expect, that FR tries the next option, but it does not. It sets the hole Expression to FALSE.
I think that's fixed in the v2.1.x branch in git. The fix will be in 2.1.11. Alan DeKok.
5531
Age (days ago)
5531
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alan DeKok