From 2d5ad80b2a11ac0476f3258d62969ac240e96fa5 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Fri, 12 Apr 2024 10:39:07 +0200 Subject: [PATCH] fix(glpiselectfield): ambiguous column with tickets --- inc/field/dropdownfield.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/field/dropdownfield.class.php b/inc/field/dropdownfield.class.php index bbd48628e..c3b14da42 100644 --- a/inc/field/dropdownfield.class.php +++ b/inc/field/dropdownfield.class.php @@ -258,7 +258,7 @@ public function buildParams($rand = null) { 'groups_id' => $_SESSION['glpigroups'], ], ]); - $tickets_filter[] = ['id' => $requestersObserversGroupsQuery]; + $tickets_filter[] = [Ticket::getTableField('id') => $requestersObserversGroupsQuery]; } $dparams_cond_crit['OR'] = $tickets_filter; break;