From 234229449390f138211bc3708ab811b509b1762b Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Tue, 19 Jun 2012 13:53:43 +0000 Subject: [PATCH] [-] BO : fixed bug on customer edit when context is in "all shop" or "group shop" git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16082 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminCustomersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminCustomersController.php b/controllers/admin/AdminCustomersController.php index 37d5ce0a6..1cab016c5 100644 --- a/controllers/admin/AdminCustomersController.php +++ b/controllers/admin/AdminCustomersController.php @@ -148,7 +148,7 @@ class AdminCustomersControllerCore extends AdminController public function postProcess() { - if (!$this->can_add_customer && $this->display) + if (!$this->can_add_customer && $this->display == 'add') $this->redirect_after = $this->context->link->getAdminLink('AdminCustomers'); parent::postProcess();