// Fix shop association in admin on attributes page

This commit is contained in:
rMalie committed 2012-02-16 17:11:49 +00:00
1 parent 32e404fbdc
commit 1b05d38766
4 files changed
+27 -11

No files matched your search

@@ -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'])