Thursday, November 25, 2010

Re: Problem with savefield method and phpmyadmin, strange behavior

Is your model validating the field "is_first_transfer"? Is 0 an
invalid value?
If yes, you can turn it off using:
saveField('is_first_transfer', 0, false);
that will save your data without validating it!
Enjoy,
John

On 25 Nov., 12:35, matthieu <matthieu.rolland1...@gmail.com> wrote:
> It is me again.
>
> I thought there might be a problem with with my "0" value, but that's
> not it, I tried to change the value from 1 to 2 instead of 0, and it
> does the same. One value changes, not the other....

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: