I have a Model with a table something like: create table foo ( id int not null auto_increment, bar varchar(100) not null default '', baz datetime not null default '0000-00-00 00:00:00' );
So when I do a $this->foo->create(), the associative array returned looks like: [foo] => Array ( [baz] => 0000-00-00 ) Is there a flag I can pass somewhere so that the fields with the empty varchar's get set in the returned associateive array, so that I'll get something like: [foo] => Array ( [bar] => '', [baz] => 0000-00-00 ) TIA! Rich --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---