It seems that various people have problems when saving null values. In particular when it comes to numeric values it should be possible to store null values. This might be a mysql related problem as cake renders an empty input as '' (when a db record gets updated)
After I checked the source, I modified the value function in the DboMysql class, so that it returns the string null when column type is integer or float. Are there plans to incoporate a similar change in cake in the future? The phpdoc comment suggests that the safe param in the function (currently unused) might fullfill this purpose in the future. Does anybody have a better solution? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
