Hi Felix

Thanks for the improvement, but it still produced an error - "undefined
index" in the model.
However, the fix you wrote in your ticket(1040) works:

function validates($data = array()) {
   if (empty($data)) {
      $data = $this->data;
   }
   $this->data = $data;
        
   return parent::validates($data);

}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to