Ahhhh, you are absolutely right !!! Mistake fixed. Thanks a lot to all of you.
jbmere On 6 mar, 06:31, Sam Bernard <sambern...@gmail.com> wrote: > Exactly. "del" is a deprecated function, so replace > > if ($this->Seccion->*del*($id)) { > > with > > if ($this->Seccion->*delete*($id)) { > > When a model function doesn't exist- cake tries to use it as sql, which is > why "del" showed up as your sql query. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php