James Moger
2014-09-17 fafeb68da33d531bcf83ecfc1399b4770ada6e4b
Ensure TicketModel comment text is not null in hasComment() test
1 files modified
2 ■■■ changed files
src/main/java/com/gitblit/models/TicketModel.java 2 ●●● patch | view | raw | blame | history
src/main/java/com/gitblit/models/TicketModel.java
@@ -637,7 +637,7 @@
        }
        public boolean hasComment() {
            return comment != null && !comment.isDeleted();
            return comment != null && !comment.isDeleted() && comment.text != null;
        }
        public Comment comment(String text) {