We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03b265c commit a4e18f4Copy full SHA for a4e18f4
ajax/container.php
@@ -36,7 +36,7 @@
36
37
$right = PluginFieldsProfile::getRightOnContainer($_SESSION['glpiactiveprofile']['id'], $_GET['id']);
38
if ($right < READ) {
39
- throw new HttpException(403, 'Forbidden');
+ throw new \Glpi\Exception\Http\AccessDeniedHttpException();
40
}
41
42
$containers_id = $_GET['id'];
0 commit comments