Made sure identifying value of feed isn't empty

This commit is contained in:
daniel oeh 2012-10-15 18:32:10 +02:00
parent e03047254d
commit 164ca08123

View File

@ -126,9 +126,9 @@ public class Feed extends FeedFile {
* of the feed.
* */
public String getIdentifyingValue() {
if (feedIdentifier != null) {
if (feedIdentifier != null && !feedIdentifier.isEmpty()) {
return feedIdentifier;
} else if (title != null) {
} else if (title != null && !title.isEmpty()) {
return title;
} else {
return link;