mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Merge pull request #9737 from saschaszott/patch-43
fix invalid usage of == operator
This commit is contained in:
@@ -1799,7 +1799,7 @@ prevent the generation of resource policy entry values with null dspace_object a
|
||||
//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);
|
||||
|
Reference in New Issue
Block a user