Y
Y
Yuriy2018-08-08 11:20:32
MODX
Yuriy, 2018-08-08 11:20:32

Modx revo Condition not working?

Tell me why this condition does not work?
in template
geo.home = 1 or geo.home = 0
+ prints + regardless of 0 or 1 in geo.home
geo . - placeholder
geo.home - takes values ​​0 or 1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex-1917, 2018-08-08
@alex-1917

+

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question