// Fix shop association in admin on attributes page
This commit is contained in:
@@ -372,7 +372,7 @@ class AdminEmployeesControllerCore extends AdminController
|
||||
return false;
|
||||
}
|
||||
|
||||
$assos = AdminEmployeesController::getAssoShop($this->table);
|
||||
$assos = $this->getAssoShop($this->table);
|
||||
|
||||
if (count($assos[0]) == 0 && $this->table = 'employee')
|
||||
if (Shop::isFeatureActive() && _PS_ADMIN_PROFILE_ != $_POST['id_profile'])
|
||||
|
||||
Reference in New Issue
Block a user