Skip to content

Commit 9c40159

Browse files
committed
Add the fixed for duplicates group name. for update process, Solr index and bulk applying UI
1 parent a04c482 commit 9c40159

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Utilities.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ public static function getGroupsByNode($nid) {
843843
}
844844
}
845845

846-
return $group_ids;
846+
return array_unique($group_ids);
847847
}
848848

849849
/**
@@ -863,7 +863,7 @@ public static function getGroupsByMedia($mid) {
863863
$group_ids[] = $rel->getGroup()->label();
864864
}
865865
}
866-
return $group_ids;
866+
return array_unique($group_ids);
867867
}
868868

869869
}

0 commit comments

Comments
 (0)