Skip to content
Permalink
Browse files

MDL-39041 Assignment - Fix regression in "allow submission changes".

A typo was introduced in the assignment attempt history feature that broke
unlock submissions. This was detected by the new behat test in MDL-38970 (yay).
  • Loading branch information...
damyon committed Apr 10, 2013
1 parent 70faad6 commit 5091b20052b149f907a0d584db0ccff83940d739
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assign/locallib.php
@@ -5315,7 +5315,7 @@ protected function process_unlock($userid = 0) {
}
$flags = $this->get_user_flags($userid, true);
$flags->locked = 1;
$flags->locked = 0;
$this->update_user_flags($flags);
$user = $DB->get_record('user', array('id' => $userid), '*', MUST_EXIST);

0 comments on commit 5091b20

Please sign in to comment.
You can’t perform that action at this time.