diff --git a/lib/weblib.php b/lib/weblib.php index 955526e6b69..680d091de78 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -2550,6 +2550,7 @@ function redirect($url, $message='', $delay=-1) { if ($PAGE) { $PAGE->set_context(null); $PAGE->set_pagelayout('redirect'); // No header and footer needed. + $PAGE->set_title(get_string('pageshouldredirect', 'moodle')); } if ($url instanceof moodle_url) { diff --git a/mod/forum/post.php b/mod/forum/post.php index e3d3decf29f..f1e9988d0a1 100644 --- a/mod/forum/post.php +++ b/mod/forum/post.php @@ -790,7 +790,7 @@ if ($fromform = $mform_post->get_data()) { } if ($subscribemessage = forum_post_subscription($discussion, $forum)) { - $timemessage = 4; + $timemessage = 6; } // Update completion status