diff --git a/src/CommonTreeDropdown.php b/src/CommonTreeDropdown.php index 6c7b4265da8..5e3e301e16d 100644 --- a/src/CommonTreeDropdown.php +++ b/src/CommonTreeDropdown.php @@ -916,7 +916,7 @@ public function findID(array &$input) $fk => (isset($input[$fk]) ? $input[$fk] : 0) ] ]; - if ($this->isEntityAssign()) { + if ($this->isEntityAssign() && $this->getTable() != 'glpi_entities') { $criteria['WHERE'] = $criteria['WHERE'] + getEntitiesRestrictCriteria( $this->getTable(), '',