hi, i have a field icon, tinyint(1).

im doing this:

$this->Software->saveField('icon',2);

but the query generated is:

UPDATE `software` SET `icon` = 1, `modified` = '2010-08-17 12:58:37' WHERE
`software`.`id` = 1115

Why is icon = 1 and not icon = 2?

is this okey? or is a bug?

if i set icon = 2 directly in my db, mysql allows that value.

Arnold

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

Reply via email to