mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 06:25:33 +02:00
Merge branch 'MDL-67436-master' of https://github.com/jondo/moodle
This commit is contained in:
commit
d817ccaca5
@ -46,7 +46,7 @@ class mod_assign_grading_options_form extends moodleform {
|
||||
|
||||
$mform->addElement('header', 'general', get_string('gradingoptions', 'assign'));
|
||||
// Visible elements.
|
||||
$options = array(-1 => get_string('all'), 10 => '10', 20 => '20', 50 => '50', 100 => '100');
|
||||
$options = array(10 => '10', 20 => '20', 50 => '50', 100 => '100', -1 => get_string('all'));
|
||||
$maxperpage = get_config('assign', 'maxperpage');
|
||||
if (isset($maxperpage) && $maxperpage != -1) {
|
||||
unset($options[-1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user