Hi,
this is caused by introduction of boolean type in NXSL. If you change
to
it will work correctly. As those attributes are boolean by nature and all our examples use only second form we didn't expect that they are used with == operator (and == 1 was unreliable anyway because it could have happen to be any non-zero number).
Best regards,
Victor
this is caused by introduction of boolean type in NXSL. If you change
Code Select
if ($node->isRouter == 1)
to
Code Select
if ($node->isRouter)
it will work correctly. As those attributes are boolean by nature and all our examples use only second form we didn't expect that they are used with == operator (and == 1 was unreliable anyway because it could have happen to be any non-zero number).
Best regards,
Victor