]> git.mjollnir.org Git - moodle.git/commitdiff
Merged fix for full link to post in search results , from stable
authormoodler <moodler>
Mon, 23 Jul 2007 09:11:57 +0000 (09:11 +0000)
committermoodler <moodler>
Mon, 23 Jul 2007 09:11:57 +0000 (09:11 +0000)
mod/forum/search.php

index 9cd5cc9a4ac98854c281b5ade73004264465968f..a15cc94f5b984cad70a0625ff1890293a9aeefc2 100644 (file)
             $post->message = $message;
         }
 
-        $fulllink = "<a href=\"discuss.php?d=$post->discussion#$post->id\">".get_string("postincontext", "forum")."</a>";
+        $fulllink = "<a href=\"discuss.php?d=$post->discussion#p$post->id\">".get_string("postincontext", "forum")."</a>";
         //search terms already highlighted - fiedorow - 9/2/2005
         $SESSION->forum_search = true;