Permalink
Browse files

MDL-29005 blocks : clarified comment

  • Loading branch information...
1 parent 97dd4ec commit 132c116509de1f643e79141118f6d3834d06ed3c @nebgor nebgor committed Aug 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 blocks/community/forms.php
@@ -155,7 +155,7 @@ public function definition() {
array('class' => 'hubscreenshot'));
$hubdescriptiontext = html_writer::tag('span', format_text($hub['description'], FORMAT_PLAIN),
array('class' => 'hubdescription'));
- if (isset($hub['enrollablecourses'])) { //needed for Moodle version < 2011081700
+ if (isset($hub['enrollablecourses'])) { //check needed to avoid warnings for Moodle version < 2011081700
$additionaldesc = get_string('enrollablecourses', 'block_community') . ': ' . $hub['enrollablecourses'] . ' - ' .
get_string('downloadablecourses', 'block_community') . ': ' . $hub['downloadablecourses'];
$hubdescriptiontext .= html_writer::tag('span', $additionaldesc,

0 comments on commit 132c116

Please sign in to comment.