Are you using the Sanitize component on your data? If you are you and you use the clean() function you may need to set encode=false.
On Jul 8, 6:15 am, Ernesto <e.fanz...@gmail.com> wrote: > Hello. > > i'm having some troubles with cake. > > here's my this->data array > > Array( > [id] = 30 > [date] = 2009-11-23 > ) > > here's a piece of my SQL dump > > UPDATE `table` SET `id` = 30, `date` = '2009-11-23' WHERE > `table`.`id` = 30 > > why is cake de-coding the "-" in date??? --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---