Skip to content

Commit

Permalink
fix group transfer to connected items
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 committed Mar 19, 2024
1 parent 80ef39c commit 2984938
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CommonDBTM.php
Original file line number Diff line number Diff line change
Expand Up @@ -3536,6 +3536,9 @@ public function getComments()
&& ($this->getType() != 'Group')
) {
$groups = $this->getField('groups_id');
if (!is_array($groups)) {
$groups = [$groups];
}
foreach ($groups as $group) {
$tmp = Dropdown::getDropdownName("glpi_groups", $group);
if ($tmp !== '' && $tmp !== ' ') {
Expand Down

0 comments on commit 2984938

Please sign in to comment.