diff --git a/inc/fields/dropdownfield.class.php b/inc/fields/dropdownfield.class.php index bc99d499e..3ffc61581 100644 --- a/inc/fields/dropdownfield.class.php +++ b/inc/fields/dropdownfield.class.php @@ -222,6 +222,12 @@ public function displayField($canEdit = true) { ]; $groups = implode("', '", $groups); } + // Check if helpdesk availability is fine tunable on a per item basis + if ($DB->fieldExists($itemtype::getTable(), 'is_helpdesk_visible')) { + $dparams_cond_crit[] = [ + 'is_helpdesk_visible' => '1', + ]; + } } }