this works:
'OR'=> array('title'=>$TitleArray, 'title is null')
the other does not:
https://trac.cakephp.org/ticket/1075
the answer:
"You have duplicate array keys. PHP will merge them for you. Use
different keys"
is ignorant of the fact that SQL will not interpret properly this : IN
(1, 2, 3, null) so the idea behind merging is bad to start with.
Anyway, the above work around solution compensate for a designers
error.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en