// Fix "my preferences" permissions
This commit is contained in:
1 parent
50b65b41fd
commit
ed6c16aef8
2 files changed
+16
-3
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user