Allow underscore and hypen in module names

This commit is contained in:
gustav_delius 2005-09-25 20:46:43 +00:00
parent 54afe05f20
commit b1c9e0998a

View file

@ -18,7 +18,7 @@
$file = optional_param('file', '',PARAM_FILE);
$text = optional_param('text', 'No text to display',PARAM_CLEAN);
$module = optional_param('module', 'moodle',PARAM_ALPHA);
$module = optional_param('module', 'moodle', PARAM_ALPHAEXT);
print_header();