| Subject: | Re: linked models and save |
|---|---|
| From: | Tilen Majerle |
| Date: | Sun, 4 Mar 2012 19:01:22 +0100 |
|
$dataUser should be something like this $dataUser = array('User' => array('username' => $this->request-
>data('LOGINTUTOR'), 'password' => $this->request->data('PASSWORDTUTOR'), 'role' => 'tutor'));
and make sure that model is not validated before save, maybe here is problem too :)
-- -- Lep pozdrav, Tilen Majerle 2012/3/4 Cédric Chabert <ced.chabert@xxxxxxxxx>
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 cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | linked models and save, Cédric Chabert |
|---|---|
| Next by Date: | Re: linked models and save, Cédric Chabert |
| Previous by Thread: | linked models and save, Cédric Chabert |
| Next by Thread: | Re: linked models and save, Cédric Chabert |
| Indexes: | [Date] [Thread] [Top] [All Lists] |