Skip to content
Browse files

Merge branch 'MDL-28187_messaging_nav_22' of git://github.com/andyjda…

…vis/moodle into MOODLE_22_STABLE
  • Loading branch information...
2 parents 3905c1f + 4bf46b6 commit fc109fac2dc9ec604bffb2de8ea7ff841995af64 Sam Hemelryk committed Mar 19, 2012
Showing with 3 additions and 6 deletions.
  1. +3 −6 message/edit.php
View
9 message/edit.php
@@ -31,12 +31,9 @@
$disableall = optional_param('disableall', 0, PARAM_BOOL); //disable all of this user's notifications
$url = new moodle_url('/message/edit.php');
-if ($userid !== $USER->id) {
- $url->param('id', $userid);
-}
-if ($course != SITEID) {
- $url->param('course', $course);
-}
+$url->param('id', $userid);
+$url->param('course', $course);
+
$PAGE->set_url($url);
if (!$course = $DB->get_record('course', array('id' => $course))) {

0 comments on commit fc109fa

Please sign in to comment.
Something went wrong with that request. Please try again.