On 5/23/07, ricarou51 <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I've this problem :
>
> for any table which contains 'int' fields ( I put default value at
> NULL in the database) , when I add a row whitout filling the input for
> my int field, there is no problem but when I edit a row , if the input
> for int field is empty, cake saves it to 0 and not to NULL ....
>
> Thanks for yours answers

Perhaps I'm wrong, but last I checked you can't set an integer to
NULL...the default for an integer would be zero, wouldn't it?

-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
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