Permalink
Browse files

MDL-29266 Assignment grading: save state of "send notifications" box

  • Loading branch information...
1 parent 358e5cf commit aafe1618f8ab688cc9b6a50b62266d45a6a65280 @bostelm bostelm committed with Sam Hemelryk Dec 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/lib.php
View
@@ -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);
}

0 comments on commit aafe161

Please sign in to comment.