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:
Tim Donohue
2014-09-26 14:33:19 -05:00

View File

@@ -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;
}