Skip to content

Commit

Permalink
MDL-29266 Assignment grading: save state of "send notifications" box
Browse files Browse the repository at this point in the history
  • Loading branch information
bostelm authored and Sam Hemelryk committed Jan 2, 2012
1 parent 358e5cf commit aafe161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/assignment/lib.php
Expand Up @@ -627,7 +627,7 @@ function submissions($mode) {

if (is_null($mailinfo)) {
if (optional_param('sesskey', null, PARAM_BOOL)) {
set_user_preference('assignment_mailinfo', $mailinfo);
set_user_preference('assignment_mailinfo', 0);
} else {
$mailinfo = get_user_preferences('assignment_mailinfo', 0);
}
Expand Down

0 comments on commit aafe161

Please sign in to comment.