mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Merge pull request #662 from tdonohue/DS-2097
DS-2097: Obvious boolean logic fix. Should be boolean AND, not boolean OR
This commit is contained in:
@@ -106,7 +106,7 @@ public class SendItemRequestAction extends AbstractAction
|
||||
if (titleDC == null || titleDC.length == 0) {
|
||||
titleDC = item.getDC("title", Item.ANY, Item.ANY); // dc.title with qualifier term
|
||||
}
|
||||
if (titleDC != null || titleDC.length > 0) {
|
||||
if (titleDC != null && titleDC.length > 0) {
|
||||
title = titleDC[0].value;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user