Skip to content

Commit 324bd74

Browse files
committed
fix(dropdownfield): empty dropdown
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 22f765d commit 324bd74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/fields/dropdownfield.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public function displayField($canEdit = true) {
235235
$itemtype::getTable(),
236236
$decodedValues['show_ticket_categories_root']
237237
);
238-
$dparams_cond_crit[ItilCategory::getTable().'.id'] = $sons;
238+
$dparams_cond_crit[$itemtype::getTable().'.id'] = $sons;
239239
$rootItem = new $itemtype();
240240
if ($rootItem->getFromDB($decodedValues['show_ticket_categories_root'])) {
241241
$baseLevel = $rootItem->fields['level'];

0 commit comments

Comments
 (0)