Skip to content

Commit

Permalink
fix(glpiselectfield): disable anonymization of user for answer resolu…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
btry committed Nov 6, 2023
1 parent 46559a0 commit 66bea30
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 @@ -419,7 +419,7 @@ public function getValueForTargetText($domain, $richText): ?string {
$DbUtil = new DbUtils();
$itemtype = $this->getSubItemtype();
if ($itemtype == User::class) {
$value = $DbUtil->getUserName($this->value);
$value = $DbUtil->getUserName($this->value, 0, true);
} else {
$value = Dropdown::getDropdownName($DbUtil->getTableForItemType($itemtype), $this->value);
}
Expand Down

0 comments on commit 66bea30

Please sign in to comment.