Skip to content

Commit 98fe6ee

Browse files
author
David Monllao
committed
Merge branch 'MDL-59611-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE
2 parents 671ad6b + e8d8bcc commit 98fe6ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mod/assign/locallib.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,8 +1504,9 @@ protected function add_plugin_settings(assign_plugin $plugin, MoodleQuickForm $m
15041504
} else if ($plugin->is_visible() && $plugin->is_configurable()) {
15051505
$name = $plugin->get_subtype() . '_' . $plugin->get_type() . '_enabled';
15061506
$label = $plugin->get_name();
1507-
$label .= ' ' . $this->get_renderer()->help_icon('enabled', $plugin->get_subtype() . '_' . $plugin->get_type());
15081507
$pluginsenabled[] = $mform->createElement('checkbox', $name, '', $label);
1508+
$helpicon = $this->get_renderer()->help_icon('enabled', $plugin->get_subtype() . '_' . $plugin->get_type());
1509+
$pluginsenabled[] = $mform->createElement('static', '', '', $helpicon);
15091510

15101511
$default = get_config($plugin->get_subtype() . '_' . $plugin->get_type(), 'default');
15111512
if ($plugin->get_config('enabled') !== false) {

0 commit comments

Comments
 (0)