From f3037ac37e54b2da0d9dd09ff8c0fe2594cf0fdd Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Thu, 16 Jun 2011 13:39:30 +1000 Subject: [PATCH] Fixed edit customer --- controllers/customers_controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/customers_controller.php b/controllers/customers_controller.php index c3680e58..71e60c33 100755 --- a/controllers/customers_controller.php +++ b/controllers/customers_controller.php @@ -84,8 +84,8 @@ class CustomersController extends AppController { if ($this->Customer->saveAll($this->data)) { $this->Session->setFlash(__('The Customer has been saved', true)); $id = $this->Customer->id; - debug($this->data); - //$this->redirect(array('action'=>'view/'.$id)); + + $this->redirect(array('action'=>'view/'.$id)); } else { $this->Session->setFlash(__('The Customer could not be saved. Please, try again.', true));