Merge branch 'MDL-52414_m31v7' of https://github.com/sbourget/moodle
authorDavid Monllao <davidm@moodle.com>
Tue, 16 Feb 2016 04:44:09 +0000 (12:44 +0800)
committerDavid Monllao <davidm@moodle.com>
Tue, 16 Feb 2016 04:44:09 +0000 (12:44 +0800)
mod/lesson/settings.php

index 6635a83..213743a 100644 (file)
@@ -160,7 +160,7 @@ if ($ADMIN->fulltree) {
 
     $settings->add(new admin_setting_configselect_with_advanced('mod_lesson/customscoring',
         get_string('customscoring', 'lesson'), get_string('customscoring_help', 'lesson'),
-        array('value' => 0, 'adv' => true), $yesno));
+        array('value' => 1, 'adv' => true), $yesno));
 
     $settings->add(new admin_setting_configselect_with_advanced('mod_lesson/retakesallowed',
         get_string('retakesallowed', 'lesson'), get_string('retakesallowed_help', 'lesson'),