Skip to content

Commit 66bea30

Browse files
committed
fix(glpiselectfield): disable anonymization of user for answer resolution
1 parent 46559a0 commit 66bea30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/field/dropdownfield.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ public function getValueForTargetText($domain, $richText): ?string {
419419
$DbUtil = new DbUtils();
420420
$itemtype = $this->getSubItemtype();
421421
if ($itemtype == User::class) {
422-
$value = $DbUtil->getUserName($this->value);
422+
$value = $DbUtil->getUserName($this->value, 0, true);
423423
} else {
424424
$value = Dropdown::getDropdownName($DbUtil->getTableForItemType($itemtype), $this->value);
425425
}

0 commit comments

Comments
 (0)