mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
Merge branch 'MDL-44657-master' of git://github.com/FMCorz/moodle
This commit is contained in:
commit
6d97620481
@ -211,7 +211,9 @@ abstract class moodleform {
|
||||
* @return string form identifier.
|
||||
*/
|
||||
protected function get_form_identifier() {
|
||||
return get_class($this);
|
||||
$class = get_class($this);
|
||||
|
||||
return preg_replace('/[^a-z0-9_]/i', '_', $class);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user