mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-35202: Allow for language files that contain non-ascii for actions in assignment
This commit is contained in:
parent
05165a7f60
commit
ce86eb4d08
1 changed files with 4 additions and 4 deletions
|
@ -319,18 +319,18 @@ class assign {
|
||||||
$this->process_batch_grading_operation();
|
$this->process_batch_grading_operation();
|
||||||
$action = 'grading';
|
$action = 'grading';
|
||||||
} else if ($action == 'submitgrade') {
|
} else if ($action == 'submitgrade') {
|
||||||
if (optional_param('saveandshownext', null, PARAM_ALPHA)) {
|
if (optional_param('saveandshownext', null, PARAM_RAW)) {
|
||||||
//save and show next
|
//save and show next
|
||||||
$action = 'grade';
|
$action = 'grade';
|
||||||
if ($this->process_save_grade($mform)) {
|
if ($this->process_save_grade($mform)) {
|
||||||
$action = 'nextgrade';
|
$action = 'nextgrade';
|
||||||
}
|
}
|
||||||
} else if (optional_param('nosaveandprevious', null, PARAM_ALPHA)) {
|
} else if (optional_param('nosaveandprevious', null, PARAM_RAW)) {
|
||||||
$action = 'previousgrade';
|
$action = 'previousgrade';
|
||||||
} else if (optional_param('nosaveandnext', null, PARAM_ALPHA)) {
|
} else if (optional_param('nosaveandnext', null, PARAM_RAW)) {
|
||||||
//show next button
|
//show next button
|
||||||
$action = 'nextgrade';
|
$action = 'nextgrade';
|
||||||
} else if (optional_param('savegrade', null, PARAM_ALPHA)) {
|
} else if (optional_param('savegrade', null, PARAM_RAW)) {
|
||||||
//save changes button
|
//save changes button
|
||||||
$action = 'grade';
|
$action = 'grade';
|
||||||
if ($this->process_save_grade($mform)) {
|
if ($this->process_save_grade($mform)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue