Skip to content

Commit ac36272

Browse files
committed
fix(glpiselectfield): bad WHERE criteria with entities
1 parent 6d74fb8 commit ac36272

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

inc/field/dropdownfield.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ public function buildParams($rand = null) {
144144
case Entity::class:
145145
case Document::class:
146146
unset($dparams['entity']);
147+
break;
147148

148149
case User::class:
149150
$dparams['right'] = 'all';

0 commit comments

Comments
 (0)