// Fix "my preferences" permissions

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12392 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-01-12 14:47:03 +00:00
parent a788bdd930
commit 87ad43efb9
2 changed files with 16 additions and 3 deletions
-2
View File
@@ -350,8 +350,6 @@ class AdminControllerCore extends Controller
if ($disable)
return true;
$this->tabAccess = Profile::getProfileAccess($this->context->employee->id_profile, $this->id);
if ($this->tabAccess['view'] === '1')
return true;
return false;