// Fix shop association in admin on attributes page

This commit is contained in:
rMalie
2012-02-16 17:11:49 +00:00
parent 32e404fbdc
commit 1b05d38766
4 changed files with 27 additions and 11 deletions
@@ -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'])