// Fix shop association in admin on attributes page

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13412 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-02-16 17:11:49 +00:00
parent 19e93647d7
commit b0d24b3ae4
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'])