blogs MDL-22161 Fixed typo in blog menu block
authorSam Hemelryk <sam@moodle.com>
Thu, 22 Apr 2010 02:12:53 +0000 (02:12 +0000)
committerSam Hemelryk <sam@moodle.com>
Thu, 22 Apr 2010 02:12:53 +0000 (02:12 +0000)
blocks/blog_menu/block_blog_menu.php

index 9d17783..1943fc5 100755 (executable)
@@ -91,7 +91,7 @@ class block_blog_menu extends block_base {
                 !$PAGE->url->param('modid') && !$PAGE->url->param('courseid') && !$PAGE->url->param('userid') && !$PAGE->url->param('entryid')) {
                 // no
             } else {
-                $menulist[] = html_writer::add($CFG->wwwroot .'/blog/index.php', get_string('viewsiteentries', 'blog'));
+                $menulist[] = html_writer::link($CFG->wwwroot .'/blog/index.php', get_string('viewsiteentries', 'blog'));
             }
         }