From 26d932b109637864050d9b9a9a789c87612acde3 Mon Sep 17 00:00:00 2001 From: vyshane Date: Fri, 12 Jan 2007 05:05:09 +0000 Subject: [PATCH] Merged from 1.7. --- mod/forum/post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.5