When I try to set a default value for a form in the action like this:

$this->form = new MessageForm(array('to' => $message->getUser()));

I get this:

Catchable fatal error: Argument 1 passed to
sfFormPropel::__construct() must be an instance of BaseObject, array
given, called in {THE DIRECTORY OF MY ACTIONS CLASS} on line 90 and
defined in /usr/share/php/symfony/plugins/sfPropelPlugin/lib/propel/
sfFormPropel.class.php on line 42

Any help would be appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to