diff --git a/inc/field/dropdownfield.class.php b/inc/field/dropdownfield.class.php index bb7a35516..d4d33a0db 100644 --- a/inc/field/dropdownfield.class.php +++ b/inc/field/dropdownfield.class.php @@ -378,7 +378,7 @@ public function getRenderedHtml($canEdit = true): string { $dparams = $this->buildParams($rand); $dparams['display'] = false; if (version_compare(GLPI_VERSION, '9.5.3') >= 0) { - $params['_idor_token'] = Session::getNewIDORToken(User::getType()); + $params['_idor_token'] = Session::getNewIDORToken($itemtype); } $html .= $itemtype::dropdown($dparams); }