Merge branch 'MDL-44657-master' of git://github.com/FMCorz/moodle
This commit is contained in:
+3
-1
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user