For those who missed the information, starting from CakePHP 1.2 it is no longer possible to use the magic tag -! in your condition to prevent your SQL function or keyword to be enclosed in quotes.
The recommended way now is to place it into the key or not make the array associative at all. It is no longer possible to put it into the value part of the definition.
So instead of:
-
span class=”st0″>’DATE_ADD(Payment.modified, INTERVAL 2 DAY) >’ =>
-
‘CURRENT_DATE’)
you have to use:
-
span class=”st0″>’DATE_ADD(Payment.modified, INTERVAL 2 DAY) > CURRENT_DATE’)
Thanks a lot it save me some extra hours. Thanks.