Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'MDL-59611-master' of git://github.com/damyon/moodle
  • Loading branch information
David Monllao committed Jul 31, 2018
2 parents a1b2d95 + 9ed5b0c commit f3e240e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/assign/locallib.php
Expand Up @@ -1503,8 +1503,9 @@ protected function add_plugin_settings(assign_plugin $plugin, MoodleQuickForm $m
} else if ($plugin->is_visible() && $plugin->is_configurable()) {
$name = $plugin->get_subtype() . '_' . $plugin->get_type() . '_enabled';
$label = $plugin->get_name();
$label .= ' ' . $this->get_renderer()->help_icon('enabled', $plugin->get_subtype() . '_' . $plugin->get_type());
$pluginsenabled[] = $mform->createElement('checkbox', $name, '', $label);
$helpicon = $this->get_renderer()->help_icon('enabled', $plugin->get_subtype() . '_' . $plugin->get_type());
$pluginsenabled[] = $mform->createElement('static', '', '', $helpicon);

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

0 comments on commit f3e240e

Please sign in to comment.