Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-29005 blocks : clarified comment

  • Loading branch information...
commit dd0c9fb1428b2a345fc3bf5880676f46990c10d1 1 parent d9d76da
Aparup Banerjee nebgor authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  blocks/community/forms.php
2  blocks/community/forms.php
@@ -155,7 +155,7 @@ public function definition() {
155 155 array('class' => 'hubscreenshot'));
156 156 $hubdescriptiontext = html_writer::tag('span', format_text($hub['description'], FORMAT_PLAIN),
157 157 array('class' => 'hubdescription'));
158   - if (isset($hub['enrollablecourses'])) { //needed for Moodle version < 2011081700
  158 + if (isset($hub['enrollablecourses'])) { //check needed to avoid warnings for Moodle version < 2011081700
159 159 $additionaldesc = get_string('enrollablecourses', 'block_community') . ': ' . $hub['enrollablecourses'] . ' - ' .
160 160 get_string('downloadablecourses', 'block_community') . ': ' . $hub['downloadablecourses'];
161 161 $hubdescriptiontext .= html_writer::tag('span', $additionaldesc,

0 comments on commit dd0c9fb

Please sign in to comment.
Something went wrong with that request. Please try again.