Hehe

Sorry, I just was logged;p



On 19 Wrz, 08:18, Marcelo Andrade <[email protected]> wrote:
> On Fri, Sep 18, 2009 at 10:25 AM, kicaj <[email protected]> wrote:
> > (..)
> > My first try was setting $this->data[$this->modelClass']['user_id'] =
> > 4this->Auth->user('id'); but when I use $this->data in App_Controller
> > my Add action automated works...
>
> If your on controller, I think $this->modelClass is an
> undefined variable.  Try to write the proper model
> name to the $this->data key.
>
> Best regards.
>
> --
> MARCELO DE F. ANDRADE
> Belem, PA, Amazonia, Brazil
> Linux User #221105
>
> http://mfandrade.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to