From 0f5e3787c8394ea94ef6854c8dba062b6d1752ee 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" --- 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();