Permalink
Browse files

MDL-30707 mod_forum: fixed a add_to_log() call that was causing inval…

…id URLs to be added to the log
  • Loading branch information...
1 parent 269c884 commit ec0118dd5d8ef88f4dbab6561d54bc3be90b1021 @andyjdavis andyjdavis committed Dec 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/discuss.php
View
@@ -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);

0 comments on commit ec0118d

Please sign in to comment.