Which lines of Code should i change now, i found me bug,(I changed the
incorrect if-condition) but there is no code verification. How i can
get it?

unction add(){
        $this->Captcha->case = true;
        if(!empty($this->data)) {
            $this->Translate->create();
            if($this->Translate->save($this->data) && $this->Captcha-
>protect()) {
                $this->Session->setFlash('The Translation has been
saved');
                $this->redirect(array('action'=>'index'),null, true);
            } else {
                $this->Session->setFlash('The Translation has not been
saved. Try again');
            }
        }
    }
--~--~---------~--~----~------------~-------~--~----~
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