>> Cake knows because it's DEFINEd the fields from the database. If it's >> VARCHAR, CHAR, or TEXT, treat it as a string. > > /me smacks himself in the forehead. > > I had thought that was the case, but is that *really* what is going > on? It looks to me like Cake is not honouring that for whatever > reason. > > I wonder if this is something that works properly in 1.2?
I haven't tried it on RC1 but it didn't in 6311. I've gotten around it by explicitly setting it as a string. eg: 'Model.fieldname' => "'$myvar'" (that's single quotes inside double quotes) I kept forgetting to create a ticket for it but it would be nice to fix. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---