Skip to content

Commit

Permalink
SAK-29069 : Removed getAvailability from statistics conditionals to s…
Browse files Browse the repository at this point in the history
…how closed topics in statistics
  • Loading branch information
sinmsinm committed Feb 13, 2015
1 parent a7713ad commit 24ee88e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2759,7 +2759,7 @@ public Map<String, Integer> getStudentTopicMessagCount(DiscussionForum forum, Di
Map<String, Integer> studentTotalCount = new HashMap<String, Integer>();
for(Entry<String, Boolean> entry: overridingPermissionMap.entrySet()){

if ((!forum.getDraft() && forum.getAvailability() && currTopic.getDraft().equals(Boolean.FALSE) && currTopic.getAvailability())
if ((!forum.getDraft() && currTopic.getDraft().equals(Boolean.FALSE))
|| entry.getValue())
{ // this is the start of the big topic if
// set the message count for moderated topics, otherwise it will be set later
Expand Down

0 comments on commit 24ee88e

Please sign in to comment.