Permalink
Browse files

course/lib MDL-24984 - fix lack of spacing on category list

Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
  • Loading branch information...
Paul Vaughan authored and danpoltawski committed Jan 9, 2011
1 parent 46f4c39 commit 43fa1451374e226921a51d6542f611c63c946813
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/lib.php
View
@@ -2110,7 +2110,7 @@ function print_category_info($category, $depth=0, $showcourses = false) {
echo '<div class="categorylist">';
$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++) {

0 comments on commit 43fa145

Please sign in to comment.