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 c5044cf commit d6adbbfCopy full SHA for d6adbbf
inc/field/dropdownfield.class.php
@@ -377,6 +377,9 @@ public function getRenderedHtml($canEdit = true): string {
377
if (!empty($this->question->fields['values'])) {
378
$dparams = $this->buildParams($rand);
379
$dparams['display'] = false;
380
+ if (version_compare(GLPI_VERSION, '9.5.3') >= 0) {
381
+ $params['_idor_token'] = Session::getNewIDORToken(User::getType());
382
+ }
383
$html .= $itemtype::dropdown($dparams);
384
}
385
$html .= PHP_EOL;
0 commit comments