From dd0c9fb1428b2a345fc3bf5880676f46990c10d1 Mon Sep 17 00:00:00 2001 From: Aparup Banerjee Date: Tue, 30 Aug 2011 11:17:50 +0800 Subject: [PATCH] MDL-29005 blocks : clarified comment --- blocks/community/forms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/community/forms.php b/blocks/community/forms.php index 6cb92e6d7c561..141bf66316517 100644 --- a/blocks/community/forms.php +++ b/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,