Fixed a string usage - no placeholder is expected here
authorDavid Mudrak <david.mudrak@gmail.com>
Fri, 26 Nov 2010 09:42:02 +0000 (09:42 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Fri, 26 Nov 2010 09:42:02 +0000 (09:42 +0000)
blog/lib.php

index bab9339..50241dc 100755 (executable)
@@ -491,7 +491,7 @@ function blog_get_options_for_course(stdClass $course, stdClass $user=null) {
     if (has_capability('moodle/blog:create', $sitecontext)) {
         // We can blog about this course
         $options['courseadd'] = array(
     if (has_capability('moodle/blog:create', $sitecontext)) {
         // We can blog about this course
         $options['courseadd'] = array(
-            'string' => get_string('blogaboutthiscourse', 'blog', get_string('course')),
+            'string' => get_string('blogaboutthiscourse', 'blog'),
             'link' => new moodle_url('/blog/edit.php', array('action'=>'add', 'courseid'=>$course->id))
         );
     }
             'link' => new moodle_url('/blog/edit.php', array('action'=>'add', 'courseid'=>$course->id))
         );
     }