After some further testing and commenting things out in my code, I
found out that there is something wring in the $fields array (that was
automatically populated by cake from the DB schema).
To be precise: I have a field 'blocked', which has the datatype bit(1)
and the default value: 0.
What Cake wrote in the $fields array for this row is: 'blocked' =>
array('type' => 'text', 'null' => false, 'default' => 'b\'0\'',
'length' => 1, 'collate' => NULL, 'comment' => '')
When I change 'type' to integer it works again!!Is this a bug? -flosky -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
