On 22 Aug., 16:32, AD7six <[EMAIL PROTECTED]> wrote:
> Whether it helps in the end is another matter, but the answer is..
I'm afraid it did not help. Thanks anyway.

In the meantime, i've found the solution:
var $hasOne = array('ModelB'=>array('conditions' =>
array('ModelB.foreignKey' => '-!\x60ModelA\x60.\x60otherField\x60'));

-! allows me to write direct SQL.

Somehow, my backticks became strange characters but replacing them by
\x60 solved this charset bug.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to