diff --git a/inc/field/dropdownfield.class.php b/inc/field/dropdownfield.class.php index 75e82bb76..ada20a5cf 100644 --- a/inc/field/dropdownfield.class.php +++ b/inc/field/dropdownfield.class.php @@ -196,7 +196,7 @@ public function buildParams($rand = null) { 'value' => $this->value, 'display' => false, 'comments' => false, - 'entity' => $_SESSION['glpiactiveentities'], + 'entity' => $_SESSION['glpiactive_entity'], // TODO: replace by Session::getActiveEntity when dropping GLPI 9.4 'displaywith' => ['id'], ];