Search results link use the anchor tag rather than parent for better context

This commit is contained in:
moodler 2003-08-31 06:39:06 +00:00
parent 8bd35f870c
commit 1c10b4c5c1

View File

@ -111,7 +111,7 @@
$post->subject = $fullsubject;
$fulllink = "<p align=\"right\"><a href=\"discuss.php?d=$post->discussion&parent=$post->id\">".get_string("postincontext", "forum")."</a></p>";
$fulllink = "<p align=\"right\"><a href=\"discuss.php?d=$post->discussion#$post->id\">".get_string("postincontext", "forum")."</a></p>";
forum_print_post($post, $course->id, false, false, false, false, $fulllink, $search);
echo "<br />";