Skip to content

Commit

Permalink
fix(dropdownfield,glpiselectfield): shiw item ID only on user preference
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Mar 18, 2022
1 parent 4e65509 commit 53dc3ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/field/dropdownfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public function buildParams($rand = null) {
'comments' => false,
'entity' => $this->getEntityRestriction(),
//'entity_sons' => (bool) $form->isRecursive(),
'displaywith' => ['id'],
'displaywith' => [],
];

if ($rand !== null) {
Expand Down

0 comments on commit 53dc3ae

Please sign in to comment.