MDL-52414 Lesson: Fix lesson defaults
authorStephen Bourget <steve.bourget@sau19.org>
Tue, 16 Feb 2016 04:05:37 +0000 (23:05 -0500)
committerStephen Bourget <steve.bourget@sau19.org>
Tue, 16 Feb 2016 04:05:37 +0000 (23:05 -0500)
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'),