Merge branch 'MDL-75985-400' of https://github.com/andrewnicols/moodle into MOODLE_400_STABLE

This commit is contained in:
Jun Pataleta
2022-10-19 21:27:48 +08:00
+2 -2
View File
@@ -1780,8 +1780,8 @@ EOF;
// Without this, keys will behave differently depending on the browser.
$keylist = array_map(function($key): string {
switch ($key) {
case '\n':
behat_keys::ENTER;
case "\n":
return behat_keys::ENTER;
default:
return $key;
}