Skip to content

Commit

Permalink
fix(dropdownfield): SQL error : ambiguous column id
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Mar 5, 2020
1 parent 3adcc20 commit 9366773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/fields/dropdownfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public function displayField($canEdit = true) {
$itemtype::getTable(),
$decodedValues['show_ticket_categories_root']
);
$dparams_cond_crit['id'] = $sons;
$dparams_cond_crit[ItilCategory::getTable().'.id'] = $sons;
$rootItem = new $itemtype();
if ($rootItem->getFromDB($decodedValues['show_ticket_categories_root'])) {
$baseLevel = $rootItem->fields['level'];
Expand Down

0 comments on commit 9366773

Please sign in to comment.