// Fix "my preferences" permissions

This commit is contained in:
tDidierjean
2012-01-12 14:47:03 +00:00
parent 50b65b41fd
commit ed6c16aef8
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;