'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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment