userlist block; $DB->safe_param fix; updGradeReport for curator role