[-] BO : fixed bug on customer edit when context is in "all shop" or "group shop"
This commit is contained in:
@@ -148,7 +148,7 @@ class AdminCustomersControllerCore extends AdminController
|
|||||||
|
|
||||||
public function postProcess()
|
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');
|
$this->redirect_after = $this->context->link->getAdminLink('AdminCustomers');
|
||||||
|
|
||||||
parent::postProcess();
|
parent::postProcess();
|
||||||
|
|||||||
Reference in New Issue
Block a user