Skip to content

Commit 13e1d35

Browse files
RomainLvrRom1-B
andauthored
Update ajax/container.php
Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
1 parent 8c07d6c commit 13e1d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ajax/container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
$dbu = new DbUtils();
5050
$item = $dbu->getItemForItemtype($itemtype);
5151
if ($items_id > 0 && !$item->getFromDB($items_id)) {
52-
throw new HttpException(404, 'Not Found');
52+
throw new \Glpi\Exception\Http\NotFoundHttpException();
5353
}
5454
$item->input = $input;
5555

0 commit comments

Comments
 (0)