diff --git a/course/lib.php b/course/lib.php index 496ba2066f1..10d7178a3fa 100644 --- a/course/lib.php +++ b/course/lib.php @@ -2110,7 +2110,7 @@ function print_category_info($category, $depth=0, $showcourses = false) { echo '
'; $html = ''; $cat = html_writer::link(new moodle_url('/course/category.php', array('id'=>$category->id)), format_string($category->name), $catlinkcss); - $cat .= html_writer::tag('span', '('.count($courses).')', array('title'=>get_string('numberofcourses'), 'class'=>'numberofcourse')); + $cat .= html_writer::tag('span', ' ('.count($courses).')', array('title'=>get_string('numberofcourses'), 'class'=>'numberofcourse')); if ($depth > 0) { for ($i=0; $i< $depth; $i++) {