From: scyrma Date: Mon, 30 Jun 2008 01:51:45 +0000 (+0000) Subject: MDL-15392: preventing duplicate #id in blog entries list X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9c64d40f339a34ea7c220f3404733fc91d6893e6;p=moodle.git MDL-15392: preventing duplicate #id in blog entries list --- diff --git a/blog/lib.php b/blog/lib.php index 6f1103001f..c999054b1c 100755 --- a/blog/lib.php +++ b/blog/lib.php @@ -144,7 +144,7 @@ global $USER, $CFG, $COURSE, $ME, $DB; $template['body'] = format_text($blogEntry->summary, $blogEntry->format); - $template['title'] = ''; + $template['title'] = 'id) .'" />'; //enclose the title in nolink tags so that moodle formatting doesn't autolink the text $template['title'] .= ''. format_string($blogEntry->subject) .''; $template['userid'] = $blogEntry->userid;