John is onto something here.... If the definition of the column is
"tinyint(1)" then cake presumes that this is a "toggle" field that can
only have a value of either 1 or 0; thus any value greater than 1 will
be reduced to 1. Change the field type to "int(1)" or some other
suitable definition.

Let us know if this is/isn't the problem/solution.

Chris

On Jun 5, 7:42 am, John Andersen <[email protected]> wrote:
> What is your definition of the column grant_type_id and do you have
> any other conditions defined in the model that may affect how this
> column is processed?
>    John
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to