summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2021-11-21 21:01:57 +0100
committerGitHub <noreply@github.com>2021-11-21 21:01:57 +0100
commit837845ad0252ebc2116cb1c25652f828b7d6a095 (patch)
tree2f834b3021dbba3c6b9eaf5cf5d2f95a181e10bc
parentefe66b20049d7e695792843ca0d91693b5aa1819 (diff)
parentdce3b7936069c0ef97d4f3470f156bfb6c78584c (diff)
downloadAntennaPod-837845ad0252ebc2116cb1c25652f828b7d6a095.zip
Merge pull request #5568 from ByteHamster/fix-null-guid
Backport null guid sync errors
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/sync/GuidValidator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/sync/GuidValidator.java b/core/src/main/java/de/danoeh/antennapod/core/sync/GuidValidator.java
index 6d80a6457..74e5d5cdf 100644
--- a/core/src/main/java/de/danoeh/antennapod/core/sync/GuidValidator.java
+++ b/core/src/main/java/de/danoeh/antennapod/core/sync/GuidValidator.java
@@ -4,7 +4,8 @@ public class GuidValidator {
public static boolean isValidGuid(String guid) {
return guid != null
- && !guid.trim().isEmpty();
+ && !guid.trim().isEmpty()
+ && !guid.equals("null");
}
}