Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-29005 blocks : clarified comment

  • Loading branch information...
commit dd0c9fb1428b2a345fc3bf5880676f46990c10d1 1 parent d9d76da
@nebgor nebgor authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  blocks/community/forms.php
View
2  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,
Please sign in to comment.
Something went wrong with that request. Please try again.