This commit is contained in:
kaenganxt
2014-11-28 17:30:00 +01:00
parent e1bceed3e8
commit 5783ccebc7

View File

@@ -56,7 +56,7 @@ public class MySQL {
}
public String escapeString(String text) {
return text.replace("'", "\\'");
return text == null ? "" : text.replace("'", "\\'");
}
private Boolean openConnection() {