Commits

Ted van den Brink committed 09141b8

compatibility fix for moodle 2.1

Comments (0)

Files changed (1)

 }
 
 $contextid = (int)array_shift($args);
-$component = clean_param(array_shift($args), PARAM_COMPONENT);
+$component = clean_param(array_shift($args), PARAM_ALPHA);
 $filearea  = clean_param(array_shift($args), PARAM_AREA);
 
 if ($component!='user' || $filearea!='csvenrol')