aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/util/Util.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/util/Util.java b/src/github/daneren2005/dsub/util/Util.java
index e27be86e..de7495c8 100644
--- a/src/github/daneren2005/dsub/util/Util.java
+++ b/src/github/daneren2005/dsub/util/Util.java
@@ -250,7 +250,7 @@ public final class Util {
if(version == null) {
SharedPreferences prefs = getPreferences(context);
String versionString = prefs.getString(Constants.PREFERENCES_KEY_SERVER_VERSION + instance, null);
- if(versionString != null) {
+ if(versionString != null && versionString != "") {
version = new Version(versionString);
SERVER_REST_VERSIONS.put(instance, version);
}