Mariano Iglesias írta:
> To stay compatible with CakePHP 1.2 the following line:
> 
> if($this->Contact->validates($this->data))
> 
> should be:
> 
> if($this->Contact->create($this->data) && $this->Contact->validates())
> 

If i use this I get:

Notice: Undefined offset: 0 in 
/home/sajt/Projectek/mediabazar2/cake/libs/model/model.php on line 885

Warning: array_key_exists() [function.array-key-exists]: The second 
argument should be either an array or an object in 
/home/sajt/Projectek/mediabazar2/cake/libs/model/model.php on line 885

Is this normal? I think in create there is no check for it.

-- 
Ámon Tamás
http://linkfelho.amon.hu


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to