Fixed possible npe of tabel.

This commit is contained in:
LevelX2 2014-09-11 00:17:24 +02:00
parent dc3d6e7aa5
commit 97eae36ddf

View file

@ -155,7 +155,10 @@ public class Table implements Serializable {
} }
public String getDeckType() { public String getDeckType() {
return validator.getName(); if (validator != null) {
return validator.getName();
}
return "<deckt type missing>";
} }
public Date getCreateTime() { public Date getCreateTime() {