Permalink
Browse files

Merge branch 'MDL-33487-21' of git://github.com/danpoltawski/moodle i…

…nto MOODLE_21_STABLE
  • Loading branch information...
2 parents 4471c79 + 365f666 commit ded3134c3766bb7b7f03ac7f52e2caab2b91d000 Sam Hemelryk committed Jun 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
View
2 mod/forum/lib.php
@@ -6621,7 +6621,7 @@ function forum_tp_count_discussion_unread_posts($userid, $discussionid) {
'WHERE p.discussion = ? '.
'AND p.modified >= ? AND r.id is NULL';
- return $DB->count_records_sql($sql, array($userid, $cutoffdate, $discussionid));
+ return $DB->count_records_sql($sql, array($userid, $discussionid, $cutoffdate));
}
/**

0 comments on commit ded3134

Please sign in to comment.