From: vyshane Date: Fri, 12 Jan 2007 05:05:09 +0000 (+0000) Subject: Merged from 1.7. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=26d932b109637864050d9b9a9a789c87612acde3;p=moodle.git Merged from 1.7. --- diff --git a/mod/forum/post.php b/mod/forum/post.php index 95928d47e9..cebc944908 100644 --- a/mod/forum/post.php +++ b/mod/forum/post.php @@ -311,7 +311,7 @@ print_header(); notice_yesno(get_string("deletesureplural", "forum", $replycount+1), "post.php?delete=$delete&confirm=$delete", - $_SERVER["HTTP_REFERER"]); + $CFG->wwwroot.'/mod/forum/discuss.php?d='.$post->discussion.'#'.$post->id); forum_print_post($post, $course->id, $ownpost=false, $reply=false, $link=false); if (empty($post->edit)) { @@ -326,7 +326,7 @@ print_header(); notice_yesno(get_string("deletesure", "forum", $replycount), "post.php?delete=$delete&confirm=$delete", - $_SERVER["HTTP_REFERER"]); + $CFG->wwwroot.'/mod/forum/discuss.php?d='.$post->discussion.'#'.$post->id); forum_print_post($post, $forum->course, $ownpost=false, $reply=false, $link=false); }