Skip to content

Commit

Permalink
fix displaywith option
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz committed Feb 9, 2024
1 parent 1257539 commit 8604312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/abstractcontainerinstance.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static function getSpecificValueToSelect($field, $name = '', $values = ''
}
$display_with = [];
if ($itemtype == User::class) {
$display_with = ['lastname', 'firstname'];
$display_with = ['realname', 'firstname'];
}
return Dropdown::show($itemtype, ['displaywith' => $display_with, 'name' => $name, 'display' => false]);
} else if (
Expand Down

0 comments on commit 8604312

Please sign in to comment.