Try putting the saveAll in an inner if
[code]
if ($userValidate && $userProfileValidate) {
if ($this->User->saveAll) {
...
[/code]
On Nov 26, 9:30 pm, "[email protected]"
<[email protected]> wrote:
> if ( $userValidate && $userProfileValidate && $this->User->saveAll
> ($this->data,array('validate'=>false))) {
> //$sendRegisterEmail
>
> }
>
> so saveAll pass true, even dont commit data (rollback true ;P)
>
> any solutions ?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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