[-] BO : fixed bug on customer edit when context is in "all shop" or "group shop"

This commit is contained in:
vAugagneur committed 2012-06-19 13:53:43 +00:00
1 parent 8fef6b1428
commit 67c5bc41b9
1 file changed
+1 -1
@@ -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();