[-] BO : Fix bug #PSCFV-7657 all groups checked when creating customers
This commit is contained in:
1 parent
233c87b89a
commit
bfb1781cab
1 file changed
+3
@@ -502,6 +502,9 @@ class AdminCustomersControllerCore extends AdminController
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Added values of object Group
|
// Added values of object Group
|
||||||
|
if (!Validate::isUnsignedId($obj->id))
|
||||||
|
$customer_groups = array();
|
||||||
|
else
|
||||||
$customer_groups = $obj->getGroups();
|
$customer_groups = $obj->getGroups();
|
||||||
$customer_groups_ids = array();
|
$customer_groups_ids = array();
|
||||||
if (is_array($customer_groups))
|
if (is_array($customer_groups))
|
||||||
|
|||||||
Reference in new issue
Block a user