Skip to content

Commit 72b6b54

Browse files
authored
Fix: remove unrelated items when a ticket target is set (#3565)
* Fix: remove unrelated items when a ticket target is set * add comment * revert
1 parent 7fbfffb commit 72b6b54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inc/field/dropdownfield.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public function buildParams($rand = null) {
266266
];
267267
}
268268
// Check if helpdesk availability is fine tunable on a per item basis
269-
if (Session::getCurrentInterface() == "helpdesk" && $DB->fieldExists($itemtype::getTable(), 'is_helpdesk_visible')) {
269+
if ($DB->fieldExists($itemtype::getTable(), 'is_helpdesk_visible')) {
270270
$dparams_cond_crit[] = [
271271
'is_helpdesk_visible' => '1',
272272
];

0 commit comments

Comments
 (0)