Skip to content

Commit

Permalink
fixed: check correct setting for auto mark correct
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Oct 6, 2021
1 parent 3460af2 commit 0adc66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ function questions_auto_mark_answer_correct(ElggEntity $container, ElggUser $use
}

// check group setting
$group_setting = $container->getPrivateSetting('questions_auto_mark_correct');
$group_setting = $container->getPluginSetting('questions', 'auto_mark_correct');

return ($group_setting === 'yes');
}
Expand Down

0 comments on commit 0adc66f

Please sign in to comment.