Skip to content

Commit

Permalink
course/lib MDL-24984 - fix lack of spacing on category list
Browse files Browse the repository at this point in the history
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 43fa145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 43fa145

Please sign in to comment.