Skip to content

Commit

Permalink
Merge pull request DSpace#9737 from saschaszott/patch-43
Browse files Browse the repository at this point in the history
fix invalid usage of == operator
  • Loading branch information
tdonohue committed Aug 2, 2024
2 parents 8bc235b + fa0fb14 commit a25b3cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1799,7 +1799,7 @@ protected void moveSingleMetadataValue(Context context, Item dso, int place, Met
//Retrieve the applicable relationship
Relationship rs = relationshipService.find(context,
((RelationshipMetadataValue) rr).getRelationshipId());
if (rs.getLeftItem() == dso) {
if (rs.getLeftItem().equals(dso)) {
rs.setLeftPlace(place);
} else {
rs.setRightPlace(place);
Expand Down

0 comments on commit a25b3cb

Please sign in to comment.