S
S
Sergey2017-07-19 15:08:02
MODX
Sergey, 2017-07-19 15:08:02

Modx revo if, bug or feature?

 != 3

gives the answer 2 != 3, I don't understand how if total = 2, it doesn't get into then?
total is a placeholder from pdoResources totalVar

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-07-28
@badbizarre

This is really a bug in modx, you need to write your own snippet for resource counting.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question