From 154a353194aae49b630351f1117ed552054067ae Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Mon, 21 Mar 2022 12:05:12 +0100 Subject: [PATCH] fix(glpiselectfield): bad WHERE criteria with entities --- inc/field/dropdownfield.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/field/dropdownfield.class.php b/inc/field/dropdownfield.class.php index 4ebf521d2..407be8dbc 100644 --- a/inc/field/dropdownfield.class.php +++ b/inc/field/dropdownfield.class.php @@ -249,6 +249,7 @@ public function buildParams($rand = null) { case Entity::class: case Document::class: unset($dparams['entity']); + break; case User::class: $dparams['right'] = 'all';