MDL-39041 Assignment - Fix regression in "allow submission changes".
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).

dilawar/moodle