fix #959: fix a npe when currentblog is not set and a user tap pages

fix #959: fix a npe when currentblog is not set and a user tap pages/stats/comments