Thanks for the hint with "findById"! My solution now is: function delete($id) { $myuser = $this->User->findById($id); if ($this->User->del($id)) { $this->Session->setFlash('Customer :'.$myuser['User']['name'].' deleted.'); $this->redirect('/users'); } }
Thanks for the help! Cheers --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---