[-] 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
This commit is contained in:
vAugagneur
2012-06-19 13:53:43 +00:00
parent 2efce57799
commit 2342294493
@@ -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();