posted 19 years ago
commenting out the code below allows me to read the posts again
// Set the topic status as read
tm.updateReadStatus(topic.getId(), us.getUserId(), true);
tm.incrementTotalViews(topic.getId());
// if (us.getUserId() != anonymousUser) {
// ((Map) SessionFacade.getAttribute(ConfigKeys.TOPICS_TRACKING)).put(new Integer(topic.getId()),
// new Long(topic.getLastPostTimeInMillis().getTime()));
// }
this.context.put("attachmentsEnabled", SecurityRepository.canAccess(
SecurityConstants.PERM_ATTACHMENTS_ENABLED, Integer.toString(topic.getForumId())));
[originally posted on jforum.net by mqjoe1]