Skip to content

Commit

Permalink
Merge branch 'MDL-30707_forum_log_21' of git://github.com/andyjdavis/…
Browse files Browse the repository at this point in the history
…moodle into MOODLE_21_STABLE
  • Loading branch information
Aparup Banerjee committed Jan 31, 2012
2 parents 21defa3 + cec6620 commit 5d8d3a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/discuss.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
redirect($return.'&moved=-1&sesskey='.sesskey());
}

add_to_log($course->id, 'forum', 'view discussion', $PAGE->url->out(false), $discussion->id, $cm->id);
add_to_log($course->id, 'forum', 'view discussion', "discuss.php?d=$discussion->id", $discussion->id, $cm->id);

unset($SESSION->fromdiscussion);

Expand Down

0 comments on commit 5d8d3a1

Please sign in to comment.