Skip to content

Commit

Permalink
fix(glpiselectfield): missing entries in entity select
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Jan 28, 2019
1 parent 002778d commit 746326c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/fields/dropdownfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ public function displayField($canEdit = true) {

$dparams_cond_crit = [];
switch ($itemtype) {
case Entity::class:
unset($dparams['entity']);

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

0 comments on commit 746326c

Please sign in to comment.