Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit cec66207be8031dbb99a9772f49ecad8fa341553 1 parent 1aff7bb
Andrew Davis andyjdavis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/forum/discuss.php
2  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);
Please sign in to comment.
Something went wrong with that request. Please try again.