Permalink
Browse files

Merge branch 'MDL-36433' of git://github.com/itamart/moodle into MOOD…

…LE_23_STABLE
  • Loading branch information...
2 parents 8d0a31e + 322965e commit 2353df33a7061804aef8446e418195fad7c6f487 Sam Hemelryk committed Dec 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/formslib.php
View
@@ -1964,7 +1964,7 @@ function qf_errorHandler(element, _qfMsg) {
list($jsArr,$element)=$jsandelement;
//end of fix
$escapedElementName = preg_replace_callback(
- '/[_\[\]]/',
+ '/[_\[\]-]/',
create_function('$matches', 'return sprintf("_%2x",ord($matches[0]));'),
$elementName);
$js .= '

0 comments on commit 2353df3

Please sign in to comment.