Skip to content

Commit 391d2b8

Browse files
author
UlricQin
committed
Update BlogService.java
debug...
1 parent 3298304 commit 391d2b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/org/iperl/service/BlogService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ public static Pagination byTag(Tag tagObj, int pageno, int pagesize) {
150150

151151
List<Long> ids = new ArrayList<Long>(blogTags.size());
152152
for(BlogTag bt : blogTags){
153+
if (bt == null) {
154+
continue;
155+
}
153156
long bid = bt.getBlog();
154157
ids.add(bid);
155158
}

0 commit comments

Comments
 (0)