Skip to content

Commit

Permalink
fix(glpiselectfield): bad WHERE criteria with entities
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Mar 21, 2022
1 parent 76a42bb commit 154a353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/field/dropdownfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ public function buildParams($rand = null) {
case Entity::class:
case Document::class:
unset($dparams['entity']);
break;

case User::class:
$dparams['right'] = 'all';
Expand Down

0 comments on commit 154a353

Please sign in to comment.