Merge branch 'develop' into gli-2071

This commit is contained in:
Shreesh Arora
2024-07-02 16:51:15 +05:30
130 changed files with 9762 additions and 8840 deletions

View File

@@ -509,7 +509,7 @@ class AdminCustomersControllerCore extends AdminController
);
// if we add a customer via fancybox (ajax), it's a customer and he doesn't need to be added to the visitor and guest groups
if (Tools::isSubmit('addcustomer') && Tools::isSubmit('submitFormAjax')) {
if (Tools::isSubmit('submitFormAjax')) {
$visitor_group = Configuration::get('PS_UNIDENTIFIED_GROUP');
$guest_group = Configuration::get('PS_GUEST_GROUP');
foreach ($groups as $key => $g) {