Permalink
Browse files

Merge branch 'MDL-35202-m23' of git://github.com/netspotau/moodle-mod…

…_assign into MOODLE_23_STABLE
  • Loading branch information...
2 parents df87119 + ce86eb4 commit 125759ddf4263be0d819d102c7893580c6a524fa @danpoltawski danpoltawski committed Sep 25, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 mod/assign/locallib.php
@@ -319,18 +319,18 @@ public function view($action='') {
$this->process_batch_grading_operation();
$action = 'grading';
} else if ($action == 'submitgrade') {
- if (optional_param('saveandshownext', null, PARAM_ALPHA)) {
+ if (optional_param('saveandshownext', null, PARAM_RAW)) {
//save and show next
$action = 'grade';
if ($this->process_save_grade($mform)) {
$action = 'nextgrade';
}
- } else if (optional_param('nosaveandprevious', null, PARAM_ALPHA)) {
+ } else if (optional_param('nosaveandprevious', null, PARAM_RAW)) {
$action = 'previousgrade';
- } else if (optional_param('nosaveandnext', null, PARAM_ALPHA)) {
+ } else if (optional_param('nosaveandnext', null, PARAM_RAW)) {
//show next button
$action = 'nextgrade';
- } else if (optional_param('savegrade', null, PARAM_ALPHA)) {
+ } else if (optional_param('savegrade', null, PARAM_RAW)) {
//save changes button
$action = 'grade';
if ($this->process_save_grade($mform)) {

0 comments on commit 125759d

Please sign in to comment.