I make something like that:
$record = new Photo();
$record->data_photo = new Doctrine_Expression('NOW()');
$record->save();
And I have error:
Validation failed in class Photo
1 field had validation error:
* 1 validator failed on data_photo (notnull)
why ??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---