We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22f765d commit 324bd74Copy full SHA for 324bd74
inc/fields/dropdownfield.class.php
@@ -235,7 +235,7 @@ public function displayField($canEdit = true) {
235
$itemtype::getTable(),
236
$decodedValues['show_ticket_categories_root']
237
);
238
- $dparams_cond_crit[ItilCategory::getTable().'.id'] = $sons;
+ $dparams_cond_crit[$itemtype::getTable().'.id'] = $sons;
239
$rootItem = new $itemtype();
240
if ($rootItem->getFromDB($decodedValues['show_ticket_categories_root'])) {
241
$baseLevel = $rootItem->fields['level'];
0 commit comments