Skip to content

Commit

Permalink
MDL-29005 blocks : clarified comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Aparup Banerjee committed Aug 30, 2011
1 parent 311c3e9 commit 832ea65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/community/forms.php
Expand Up @@ -155,7 +155,7 @@ public function definition() {
array('class' => 'hubscreenshot')); array('class' => 'hubscreenshot'));
$hubdescriptiontext = html_writer::tag('span', format_text($hub['description'], FORMAT_PLAIN), $hubdescriptiontext = html_writer::tag('span', format_text($hub['description'], FORMAT_PLAIN),
array('class' => 'hubdescription')); 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'] . ' - ' . $additionaldesc = get_string('enrollablecourses', 'block_community') . ': ' . $hub['enrollablecourses'] . ' - ' .
get_string('downloadablecourses', 'block_community') . ': ' . $hub['downloadablecourses']; get_string('downloadablecourses', 'block_community') . ': ' . $hub['downloadablecourses'];
$hubdescriptiontext .= html_writer::tag('span', $additionaldesc, $hubdescriptiontext .= html_writer::tag('span', $additionaldesc,
Expand Down

0 comments on commit 832ea65

Please sign in to comment.